ENUM
HandleableProblemType
Contents
- Cases
authenticationFailedProblem
invalidInputProblem
incorrectCredentialsProblem
sessionAndAccessTokenMismatchProblem
unhandleable
- Properties
rawValue
- Methods
init(rawValue:)
public enum HandleableProblemType: String, Codable
An enum class model that directly maps/duplicates the handleable ProblemType values
Cases
authenticationFailedProblem
case authenticationFailedProblem
An authentication failed problem type - critical
invalidInputProblem
case invalidInputProblem
An invalid input problem type
incorrectCredentialsProblem
case incorrectCredentialsProblem
An incorrect credentials problem type
sessionAndAccessTokenMismatchProblem
case sessionAndAccessTokenMismatchProblem
A session and access token mismatch problem type - critical
unhandleable
case unhandleable
An unhandleable problem type - should not be used and data mapper should take this into account
Properties
rawValue
public var rawValue: String
Methods
init(rawValue:)
public init?(rawValue: String)
Parameters
Name | Description |
---|---|
rawValue | The raw value to use for the new instance. |