OperationError
Generic Solution Error with an Error stack as well as an optional serialized OperationStack.
Also accepts a rootCause Error object
Extends
Constructors
Constructor Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| operation Required | string | ||
| message Optional | string | ||
| rootCause Optional | Error |
Properties
| Property | Type | Notes |
|---|---|---|
| Static | ErrorConstructor | |
| string |
What operation failed |
|
| string |
Stack trace |
|
| Inherited | string | |
| Inherited | string | |
| Optional | ISerializedOperationStack | |
| Optional | Error |
Root Error that was thrown |
Class defined in packages/common/src/OperationError.ts:13