Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > OperationError > (constructor)

OperationError.(constructor)

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Constructs a new instance of the OperationError class

Signature:

constructor(type: string, message: string);

Parameters

Parameter

Type

Description

type

string

message

string