Reference Source Test
import InvalidOperationError from '@ivantha/graphjs/src/errors/invalid-operation-error.js'
public class | source

InvalidOperationError

Extends:

es6-error~ExtendableError → InvalidOperationError

Thrown when the operation called for was not implemented / relevant for the context.

Test:

Constructor Summary

Public Constructor
public

constructor(message: string)

Creates an instance of InvalidOperationError.

Public Constructors

public constructor(message: string) source

Creates an instance of InvalidOperationError.

Params:

NameTypeAttributeDescription
message string

Error message.

Test: