/** * Error class that can be thrown explicitly via a throw() method. * Extends the built-in Error class with a convenience method for throwing. */ export declare class ThrowableError extends Error { message: string; protected response?: unknown | undefined; /** * Creates a new throwable error. * @param message - The error message * @param response - Optional response data associated with the error */ constructor(message: string, response?: unknown | undefined); /** * Throws this error instance. * Convenience method for explicitly throwing the error. * @throws This error instance */ throw(): void; } //# sourceMappingURL=throwable-error.d.ts.map