ErrorFlow
Hierarchy
- unknown
- ErrorFlow
Index
Constructors
Methods
Constructors
constructor
Returns ErrorFlow
Methods
getCode
Return the code associated to this error
Returns number
getMessage
Return the message of this error
Returns string
getStack
Return the stack with the hierarchy of bricks that run the one having thrown the error.
Returns string
staticcreate
Create a new Error object to be sent in an error flow
Parameters
message: string
the error message
code: number
the code associated to the error
Returns ErrorFlow
Error type used to propagate errors through flows between bricks.