Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.