iOS HMOAuthFailure

HMOAuthFailure is an error type for a OAuth.

Properties

Error's reason

Declaration

let reason: Reason

Read More

Error's state (context), optional

Declaration

let state: String?

Types

Reason

Declaration

enum Reason {
    case accessDenied
    case internalError
    case invalidURL
    case localDeviceUninitialised
    case missingToken
}

Parameters

accessDenied

Access is denied or there was an error returned

internalError

Some other internal error happened

invalidURL

Invalid URL/URI supplied or combining the URL failed

localDeviceUninitialised

HMLocalDevice has to be initialised beforehand

missingToken

Could not extract the access token from the response

Conforming

Error

Declaration

protocol Error

Discussion

A type representing an error value that can be thrown.

Read More