IntrospectionException class

Raised for every introspection failure mode with a human-actionable message. Carries the HTTP status (when transport-level) and the raw GraphQL error objects (when the server reported errors).

Implemented types
Available extensions

Constructors

IntrospectionException(String message, {int? statusCode, List<Map<String, dynamic>>? graphqlErrors})

Properties

graphqlErrors → List<Map<String, dynamic>>?
Raw GraphQL error objects reported by the server, if any.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable, actionable description of the failure.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusCode → int?
HTTP status code when the failure was transport-level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFailure([StackTrace? stackTrace]) → AppFailure

Available on Exception, provided by the ExceptionToFailure extension

Convert this exception to an AppFailure
toString() → String
A string representation of this object.
override

Operators

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