//#region src/storage-node/error.d.ts declare class StorageNodeError extends Error {} declare class StorageNodeAPIError extends StorageNodeError { #private; /** HTTP status for the response that caused the error. */ readonly status: TStatus; /** JSON body of the response that caused the error. */ readonly error: TError; constructor(status: TStatus, error: TError, message: string | undefined); static generate(status: number | undefined, errorResponse: object | undefined, message: string | undefined): StorageNodeAPIError; } declare class UserAbortError extends StorageNodeAPIError { constructor({ message }?: { message?: string; }); } declare class ConnectionError extends StorageNodeAPIError { constructor({ message }: { message?: string | undefined; }); } declare class ConnectionTimeoutError extends StorageNodeAPIError { constructor({ message }?: { message?: string; }); } declare class BadRequestError extends StorageNodeAPIError<400> { static generate(status: 400, errorResponse: object | undefined, message: string | undefined): StorageNodeAPIError; } declare class BlobNotRegisteredError extends StorageNodeAPIError<400> { constructor(error: object | undefined, message: string | undefined); } declare class AuthenticationError extends StorageNodeAPIError<401> {} declare class PermissionDeniedError extends StorageNodeAPIError<403> {} declare class NotFoundError extends StorageNodeAPIError<404> {} declare class ConflictError extends StorageNodeAPIError<409> {} declare class UnprocessableEntityError extends StorageNodeAPIError<422> {} declare class RateLimitError extends StorageNodeAPIError<429> {} declare class LegallyUnavailableError extends StorageNodeAPIError<451> {} declare class InternalServerError extends StorageNodeAPIError {} //#endregion export { AuthenticationError, BadRequestError, BlobNotRegisteredError, ConflictError, ConnectionError, ConnectionTimeoutError, InternalServerError, LegallyUnavailableError, NotFoundError, PermissionDeniedError, RateLimitError, StorageNodeAPIError, StorageNodeError, UnprocessableEntityError, UserAbortError }; //# sourceMappingURL=error.d.mts.map