Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > OperationError

OperationError class

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.

Encapsulates information about an error

Signature:

export declare class OperationError extends Error 

Extends: Error

Constructors

Constructor

Modifiers

Description

(constructor)(type, message)

(BETA) Constructs a new instance of the OperationError class

Properties

Property

Modifiers

Type

Description

_type

protected

string

(BETA)

message

readonly

string

(BETA)

Methods

Method

Modifiers

Description

toString()

(BETA)