Improve SchemaInferenceStack error reporting