CardGateException class

Raised by CardGateResult.fromMap and by the raw classify call.

Catching this and continuing is the correct response; turning it into CardGateLabel.other is not.

Implemented types
Annotations

Constructors

CardGateException(String code, String message, [Object? details])
const

Properties

code String
final
details Object?
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
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

Constants

codeFailed → const String
Decode failed, inference failed, or the payload was not usable.
codeTimeout → const String
The native call did not settle in time.
codeUnavailable → const String
The classifier could not be built: missing or corrupt model, policy or labels, SHA-256 mismatch, or the plugin is absent from the binary.