FunctionsFetchException class

Thrown when the request to the Edge Function could not be sent, for example because of a network or transport failure, or because the request body could not be encoded.

The originating error is available in cause, and in details for the shape the sealed hierarchy shares.

Inheritance
Mixed-in types

Constructors

FunctionsFetchException({Object? cause, String? message})
const

Properties

cause → Object?
The error that failed the request, such as a ClientException from the HTTP client or a TimeoutException.
final
details → dynamic
The response body, or the originating error when no response or no body was received.
finalinherited
errorCode → String?
Identifier for the error, for example weak_password (auth), PGRST116 (postgrest) or NoSuchKey (storage).
finalinherited
exceptionName → String
The class name toString starts with.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human readable error message associated with the error.
finalinherited
requestId → String?
The identifier the Supabase gateway assigned to the request, read from the sb-request-id response header.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited