FunctionsRelayException class
Thrown when the Supabase relay returns an error while invoking the Edge
Function, indicated by the x-relay-error response header.
The function itself may never have run.
- Inheritance
-
- Object
- SupabaseException
- FunctionsException
- FunctionsApiException
- FunctionsRelayException
Constructors
Properties
- body → String?
-
The body of the response that caused the error, as text.
finalinherited
- 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) orNoSuchKey(storage).finalinherited - exceptionName → String
-
The class name toString starts with.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
The headers of the response that caused the error.
finalinherited
- 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-idresponse header.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
HTTP status code of the response that caused the error.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited