OpenAPIErrorModel
struct OpenAPIErrorModel : CustomStringConvertible
Meta model for collecting all error types to make them available for library
-
set of error types
Declaration
Swift
static var errorTypes: Set<String>
-
Maps a type to its error representation
Declaration
Swift
static func getErrorType(_ type: String) -> String
Parameters
type
type which should be wrapped as error type
Return Value
error type
-
Declaration
Swift
var description: String { get }