InvalidStatusError
Hierarchy
StatusError
↳ InvalidStatusError
Index
Constructors
Properties
Methods
Constructors
constructor
+ new InvalidStatusError(typeName
: TypeName, currentStatus
: Status, expectedStatuses
: Status): InvalidStatusError
Overrides StateError.constructor
Parameters:
Name | Type |
---|---|
typeName | TypeName |
currentStatus | Status |
expectedStatuses | Status |
Returns: InvalidStatusError
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