/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Base class for all library errors. Extends the native {@link Error} so that * the near-universal `err instanceof Error` idiom (and the diagnostics / * telemetry utilities built on it) correctly classifies every domain error * derived from this class. * * Subclasses set their human-readable `name` from the static `type` property * (falling back to the runtime constructor name). An optional `cause` may be * supplied via the second constructor argument and is propagated to the native * `Error` cause chain. */ export declare class BaseError extends Error { static type: string; constructor(message?: string, options?: { cause?: unknown; }); toString(): string; } //# sourceMappingURL=BaseError.d.ts.map