module:SecurityError

new module:SecurityError(errorCode, details)

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

Members

details :Array.<SchemaInspectorError>

Error details

errorCode :'security definition was invalid'|'missing security parameters from request'|'unauthorized'

Error code
Type:
  • 'security definition was invalid' | 'missing security parameters from request' | 'unauthorized'

message :string

Friendly message for the error
Type:
  • string