One Logo Pool Ball
ManagedApp · IOS API REFERENCE

ManagedAppConfigurationDecodingErrorCode

struct · iOS 18.4+ · SDK 27.1

struct ManagedAppConfigurationDecodingErrorCode

A code for an error that occurs during configuration decoding. The system reserves some codes for its use only. Reserved codes are equal to or greater than `firstReserved`. Codes less than the `firstReserved` value are app-specific. For more information, see ``ManagedAppConfigurationDecodingError/code``.

Members (9)

get · iOS 18.4+

keyNotFound

TypeScript
get keyNotFound(): number
Swift declaration
static let keyNotFound: Int

An error code that indicates the decoder encountered an unknown coding key.

get · iOS 18.4+

typeMismatch

TypeScript
get typeMismatch(): number
Swift declaration
static let typeMismatch: Int

An error code that indicates the decoder encountered a type mismatch.

get · iOS 18.4+

dataCorrupted

TypeScript
get dataCorrupted(): number
Swift declaration
static let dataCorrupted: Int

An error code that indicates the decoder encountered corrupt data.

get · iOS 18.4+

firstReserved

TypeScript
get firstReserved(): number
Swift declaration
static let firstReserved: Int

An error code for the start of the range of reserved error codes.

get · iOS 18.4+

valueNotFound

TypeScript
get valueNotFound(): number
Swift declaration
static let valueNotFound: Int

An error code that indicates a coding key yields no value.

get · iOS 18.4+

generic

TypeScript
get generic(): number
Swift declaration
static let generic: Int

A reserved error that indicates the decoder threw an unknown custom error.

get · iOS 18.4+

timeout

TypeScript
get timeout(): number
Swift declaration
static let timeout: Int

An error code that indicates the decoder timed out.

init · iOS 18.4+

init

TypeScript
init(rawValue: number): (ManagedAppConfigurationDecodingErrorCode) | null
Swift declaration
init?(rawValue: Int)

Initializes a configuration decoding error code.

get · iOS 18.4+

rawValue

TypeScript
getRawValue($self: ManagedAppConfigurationDecodingErrorCode): number
Swift declaration
let rawValue: Int

The error code's value in its underlying type.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedApp types →