Skip to content

Class: HolochartError ​

Base class of the errors holochart throws or rejects with on purpose (S1.8, S2.4): error instanceof HolochartError.

Extends ​

  • Error

Extended by ​

Constructors ​

Constructor ​

ts
new HolochartError(message, options?): HolochartError;

Parameters ​

ParameterType
messagestring
options?{ cause?: unknown; }
options.cause?unknown

Returns ​

HolochartError

Overrides ​

ts
Error.constructor;

Properties ​

PropertyTypeInherited from
cause?unknownError.cause
messagestringError.message
namestringError.name
stack?stringError.stack

Released under the MIT License.