UNPKG

@nevis-security/nevis-mobile-authentication-sdk-react

Version:

React Native plugin for Nevis Mobile Authentication SDK. Supports only mobile.

40 lines (36 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationUserAlreadyRegisteredInAnotherServerError = void 0; var _OperationError = require("./OperationError"); /** * Copyright © 2023 Nevis Security AG. All rights reserved. */ /** * 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. * * The SDK does not support having identities with the same username defined in different servers. */ class OperationUserAlreadyRegisteredInAnotherServerError extends _OperationError.OperationError { /** * Provides details about the error that occurred. */ /** * The exception (if any) that caused this error. */ /** * The default constructor. * * @param description provides details about the error that occurred. * @param cause the exception (if any) that caused this error. */ constructor(description, cause) { super(); this.description = description; this.cause = cause; } } exports.OperationUserAlreadyRegisteredInAnotherServerError = OperationUserAlreadyRegisteredInAnotherServerError; //# sourceMappingURL=OperationUserAlreadyRegisteredInAnotherServerError.js.map