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.95.3/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;
statusCode?: string;
}

§Extends

§
Error
[src]

§Constructors

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

§Properties

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