added support for error responses in Introspection