keyNotFound
TypeScriptget keyNotFound(): numberSwift declarationstatic let keyNotFound: IntAn error code that indicates the decoder encountered an unknown coding key.
struct · iOS 18.4+ · SDK 27.1
struct ManagedAppConfigurationDecodingErrorCodeA 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``.
get keyNotFound(): numberSwift declarationstatic let keyNotFound: IntAn error code that indicates the decoder encountered an unknown coding key.
get typeMismatch(): numberSwift declarationstatic let typeMismatch: IntAn error code that indicates the decoder encountered a type mismatch.
get dataCorrupted(): numberSwift declarationstatic let dataCorrupted: IntAn error code that indicates the decoder encountered corrupt data.
get firstReserved(): numberSwift declarationstatic let firstReserved: IntAn error code for the start of the range of reserved error codes.
get valueNotFound(): numberSwift declarationstatic let valueNotFound: IntAn error code that indicates a coding key yields no value.
get generic(): numberSwift declarationstatic let generic: IntA reserved error that indicates the decoder threw an unknown custom error.
get timeout(): numberSwift declarationstatic let timeout: IntAn error code that indicates the decoder timed out.
init(rawValue: number): (ManagedAppConfigurationDecodingErrorCode) | nullSwift declarationinit?(rawValue: Int)Initializes a configuration decoding error code.
getRawValue($self: ManagedAppConfigurationDecodingErrorCode): numberSwift declarationlet rawValue: IntThe error code's value in its underlying type.
No declarations were skipped in this snapshot.