new module:ResponseError(errorCode, details)
Constructor for response error
Parameters:
Name | Type | Description |
---|---|---|
errorCode | string | |
details | Array.<SchemaInspectorError> |
Members
details :Array.<SchemaInspectorError>
Error details
Type:
- Array.<SchemaInspectorError>
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