Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StorageError

import { StorageError } from "https://esm.sh/@supabase/storage-js@2.103.0/dist/index.d.mts";

Base error class for all Storage errors Supports both 'storage' and 'vectors' namespaces

class StorageError extends Error {
constructor(
message: string,
namespace?: ErrorNamespace,
status?: number,
statusCode?: string,
);
protected __isStorageError: boolean;
protected namespace: ErrorNamespace;
status: number | undefined;
statusCode: string | undefined;
}

§Extends

§
Error
[src]

§Constructors

§
new StorageError(message: string, namespace?: ErrorNamespace, status?: number, statusCode?: string)
[src]

§Properties

§
__isStorageError: boolean
[src]
§
status: number | undefined
[src]
§
statusCode: string | undefined
[src]