Error
protocol Error
-
Convenience getter to easily retrieve an OAuth2Error from any Error.
Declaration
Swift
public var asOAuth2Error: OAuth2Error
-
Return a human-readable, localized string for error codes of the NSURLErrorDomain. Will simply return
localizedDescriptionfor if the receiver is not of that domain.The list of errors that are
humanized
is not necessarily exhaustive. All strings are returnedfhir_localized.Declaration
Swift
public var humanized: String
View on GitHub
Install in Dash
Error Extension Reference