MODIFIED: New error variant for EncodeErr.