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.
Constructors
- CardGateException(String code, String message, [Object? details])
-
const
Properties
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.
- The classifier could not be built: missing or corrupt model, policy or labels, SHA-256 mismatch, or the plugin is absent from the binary.