StateError
Hierarchy
ExtendableError
ExtendableError
↳ StateError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new StateError(messageOrProps?
: string | ErrorProps): StateError
Inherited from StateError.constructor
Overrides StateError.constructor
Parameters:
Name | Type |
---|---|
messageOrProps? | string | ErrorProps |
Returns: StateError
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