Members
Methods
# static failed(error) → {Result}
The static function to create new Result objects with the failed error object.
Parameters:
Name | Type | Description |
---|---|---|
error |
Error
|
*
|
The error parameter could be of any of the primitive Javascript types, but you should mostly use an Error instance. |