NevisError
public struct NevisError : Error
extension NevisError: Equatable
extension NevisError: LocalizedError
A type that represents an error that can be thrown in the NEVIS domain.
-
The type of the error
Declaration
Swift
public let type: ErrorType
-
An optional NEVIS operation which was initiated when the error occurred
Declaration
Swift
public var operation: NevisOperationType?
-
An optional underlying error that lead to the NEVIS error.
Declaration
Swift
public let underlying: Error?
-
An optional status code given by the NEVIS Mobile Authentication backend in case an UFA operation failed.
Declaration
Swift
public let statusCode: UAFStatusCode?
-
The list of errors that can happen in the SDK.
See moreDeclaration
Swift
public enum ErrorType
-
Returns the deepest nested
Error
inunderlyingError
which is not aNevisError
Declaration
Swift
func lastUnderlyingNonNevisError() -> Error?
-
Returns a Boolean value indicating whether two errors are equal.
Declaration
Swift
public static func == (lhs: NevisError, rhs: NevisError) -> Bool
-
Returns a Boolean value indicating whether a
NevisError
and any other error are equal.Declaration
Swift
public static func == (lhs: NevisError, rhs: Error) -> Bool
-
Returns a Boolean value indicating whether a NevisError corresponds to a given type.
Declaration
Swift
public static func == (lhs: NevisError, rhs: NevisError.ErrorType) -> Bool
-
Returns a Boolean value indicating whether a NevisError does not correspond to a given type.
Declaration
Swift
public static func != (lhs: NevisError, rhs: NevisError.ErrorType) -> Bool
-
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }