[SRE] MonoError in encode_reflection_type and encode_custom_modifiers