HubError
Generic Hub 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 |
|---|---|---|
| Inherited | string | |
| Inherited | string | |
| Inherited | string |
What operation failed |
| Inherited | string |
Stack trace |
| Optional Inherited | ISerializedOperationStack | |
| Optional Inherited | Error |
Root Error that was thrown |
Class defined in packages/common/src/HubError.ts:10