StatusError
Hierarchy
ExtendableError
ExtendableError
↳ StatusError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new StatusError(messageOrProps?
: string | ErrorProps): StatusError
Inherited from StateError.constructor
Overrides StateError.constructor
Parameters:
Name | Type |
---|---|
messageOrProps? | string | ErrorProps |
Returns: StatusError
Properties
Optional
code
• code? : number
Inherited from StateError.code
Overrides StateError.code
message
• message: string
Inherited from StateError.message
Overrides void
name
• name: string
Inherited from StateError.name
Overrides void
Optional
stack
• stack? : string
Inherited from StateError.stack
Overrides void
Methods
fillErrorProps
▸ fillErrorProps(props
: ErrorProps): ErrorProps
Inherited from StateError.fillErrorProps
Overrides StateError.fillErrorProps
Parameters:
Name | Type |
---|---|
props | ErrorProps |
Returns: ErrorProps