GQLExceptionProvider class abstract

Similar to GQLAuthProvider but for exceptions

Constructors

GQLExceptionProvider.new()

Properties

errorCode String
The error code this provider handles (e.g., 'HTTP_EXCEPTION', 'PAYMENT_REQUIRED')
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createException(String errorCode, String? errorMessage, Map<String, dynamic>? extensions) GQLException?
Create the appropriate exception for this error code Return null if this provider doesn't want to handle this specific case
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