Skip to content

ErrorCategory

mattpolzin edited this page Jun 11, 2021 · 3 revisions

ErrorCategory

public enum ErrorCategory 

Enumeration Cases

typeMismatch

The type with the given name was expected but not found.

case typeMismatch(expectedTypeName: String)

typeMismatch2

One of two possible types were expected but neither was found.

case typeMismatch2(possibleTypeName1: String, possibleTypeName2: String, details: String)

missing

Either a key or value was missing.

case missing(KeyValue)

dataCorrupted

There was a data corruption issue (a bit of a catchall for errors not categorized otherwise).

case dataCorrupted(underlying: Swift.Error?)

inconsistency

Something inconsistent or disallowed according the OpenAPI Specification was found.

case inconsistency(details: String)
Types
Protocols
Global Functions
Extensions
Clone this wiki locally