FunctionsApiException class
Thrown when the Edge Function responded with a non-2xx status code.
The response body is available in details.
- Inheritance
-
- Object
- SupabaseException
- FunctionException
- FunctionsApiException
- Mixed-in types
Constructors
- FunctionsApiException({required int statusCode, dynamic details, String? requestId, String? message})
-
const
Properties
- details → dynamic
-
The response body, or the originating error when no response was
received.
finalinherited
- errorCode → String?
-
Identifier for the error, for example
weak_password(auth),PGRST116(postgrest) orNoSuchKey(storage).finalinherited - 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-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.
final
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