OperationError class Null safety

An error occurred during registration or deregistration.

Inheritance
Implementers

Constructors

OperationError.deviceProtectionError(Map<String, dynamic> json)
An error that indicates that some form of tampering was found in the application.
factory
OperationError.fido(Map<String, dynamic> json)
An error that indicates that a FIDO UAF error occurred during an operation.
factory
OperationError.fromJson(Map<String, dynamic> json)
Alternate constructor to create an OperationError from json.
factory
OperationError.networkError(Map<String, dynamic> json)
A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.
factory
OperationError.noDeviceLockError(Map<String, dynamic> json)
An error that indicates that the device has no secure lock screen.
factory
OperationError.unknown(Map<String, dynamic> json)
Unknown operation error, handling not categorized error cases.
factory
OperationError.userAlreadyRegisteredInAnotherServer(Map<String, dynamic> json)
An error that occurs with registration when we try to register a new authenticator in a server for a given username, and there is an authenticator already registered in another server for that username.
factory
OperationError.userNotRegisteredInServer(Map<String, dynamic> json)
An error that occurs with username-less out-of-band authentication, if the username of a registered account is provided to the AccountSelectionHandler, but the user is not defined in the server where the token was redeemed.
factory

Properties

cause → String?
The exception (if any) that caused this error.
read-onlyinherited
description → String
Provides details about the error that occurred.
read-onlyinherited
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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