module:ResponseError

new module:ResponseError(errorCode, details)

Constructor for response error
Parameters:
NameTypeDescription
errorCodestring
detailsArray.<SchemaInspectorError>

Members

details :Array.<SchemaInspectorError>

Error details

errorCode :'invalid openapi schema provided'|'invalid response sent from endpoint controller'

Error code
Type:
  • 'invalid openapi schema provided' | 'invalid response sent from endpoint controller'

message :string

Friendly message for the error
Type:
  • string