new SequenceError()
This type represents all errors rejected by method sequence, except for TypeError when the method receives invalid input parameters.
Properties:
| Name | Type | Description | 
|---|---|---|
| name | string | Standard Error property - error type name =  | 
| message | string | Standard Error property - the error message. | 
| stack | string | Standard Error property - the stack trace. | 
| error | The error that was thrown or the rejection reason. | |
| index | number | Index of the element in the sequence for which the error/rejection occurred. | 
| duration | number | Duration (in milliseconds) of processing until the error/rejection occurred. | 
| reason | string | Textual explanation of why the method failed. | 
| source | Resolved  It is only set when the error/rejection occurred inside the  | |
| dest | Resolved  It is only set when the error/rejection occurred inside the  | 
- Source:
- See:
Extends
Methods
(static) toString(levelopt) → {string}
Creates a well-formatted multi-line string that represents the error.
It is called automatically when writing the object into the console.
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| level | number | <optional> | 0 | Nested output level, to provide visual offset. | 
- Source:
Returns:
- Type
- string