UNPKG

@altostra/core

Version:

Core library for shared types and logic

8 lines (7 loc) 392 B
import type { Maybe } from "../Common"; export declare class BlueprintError<TErrorCode = never, TErrorData = never> extends Error { readonly inner?: Error | undefined; readonly code?: TErrorCode | undefined; readonly data?: TErrorData | undefined; constructor(message: Maybe<string>, inner?: Error | undefined, code?: TErrorCode | undefined, data?: TErrorData | undefined); }