OperationError

Class

Generic Solution Error with an Error stack as well as an optional serialized OperationStack.

Also accepts a rootCause Error object

Extends

Constructors

  • new OperationError(operation: string, message: string, rootCause: Error) : OperationError

Constructor Parameters

Parameter Type Default Notes
operation Required string
message Optional string
rootCause Optional Error

Properties

Property Type Notes
Error Static ErrorConstructor
operation string

What operation failed

stack string

Stack trace

message Inherited string
name Inherited string
operationStack Optional ISerializedOperationStack
rootCause Optional Error

Root Error that was thrown


Class defined in common/src/OperationError.ts:13