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