TomSecretsPairingModeException class final

The pairing mode answered an error.

Implemented types

Constructors

TomSecretsPairingModeException(String code, String message, {String? failure})
An error of code with message; failure names the pairing's failure (wrongCode, refused, …) when the pairing failed.
const

Properties

code → String
The error's code (pairing, wrong_password, setup, handover, ended).
final
failure → String?
The pairing's failure, when code is pairing.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
What happened, for the user.
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