The TransformationResult has some useful values that are set in error cases, such as the codecs used. PiperOrigin-RevId: 495568259