ConnectionError
@prismatic-io/spectral › "errors" › ConnectionError
Hierarchy
↳ ConnectionError
Index
Constructors
Properties
Constructors
constructor
+ new ConnectionError(connection
: Connection, message
: string): ConnectionError
Overrides SpectralError.constructor
Defined in packages/spectral/src/errors.ts:15
Parameters:
Name | Type |
---|---|
connection | Connection |
message | string |
Returns: ConnectionError
Properties
connection
• connection: Connection
Defined in packages/spectral/src/errors.ts:15
isSpectralError
• isSpectralError: boolean
Inherited from SpectralError.isSpectralError
Defined in packages/spectral/src/errors.ts:4
message
• message: string
Inherited from SpectralError.message
Defined in node_modules/typescript/lib/lib.es5.d.ts:1023
name
• name: string
Inherited from SpectralError.name
Defined in node_modules/typescript/lib/lib.es5.d.ts:1022
Optional
stack
• stack? : undefined | string
Inherited from SpectralError.stack
Defined in node_modules/typescript/lib/lib.es5.d.ts:1024