/** * Copyright 2026 Angus.Fenying * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * The error class for UUID. */ export declare abstract class UuidError extends Error { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; constructor( /** * The name of the error. */ name: string, /** * The message of the error. */ message: string, /** * The context of the error. */ ctx?: Record, /** * The metadata of the error. */ origin?: unknown); } export declare const E_INVALID_SNOWFLAKE_SETTINGS: { new (ctx?: Record, origin?: unknown): { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; stackTraceLimit: number; }; export declare const E_TIME_REVERSED: { new (ctx?: Record, origin?: unknown): { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; stackTraceLimit: number; }; export declare const E_TIME_BEFORE_EPOCH: { new (ctx?: Record, origin?: unknown): { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; stackTraceLimit: number; }; export declare const E_SEQUENCE_OVERFLOWED: { new (ctx?: Record, origin?: unknown): { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; stackTraceLimit: number; }; export declare const E_INVALID_UUID: { new (ctx?: Record, origin?: unknown): { /** * The context of the error. */ readonly ctx: Record; /** * The metadata of the error. */ readonly origin: unknown; name: string; message: string; stack?: string; cause?: unknown; }; captureStackTrace(targetObject: object, constructorOpt?: Function): void; prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any; stackTraceLimit: number; }; //# sourceMappingURL=Errors.d.ts.map