underlyingError
TypeScriptget underlyingError(): (NativeError) | nullSwift declarationvar underlyingError: (any Error)?The underlying error that caused the parsing failure, if any.
struct · iOS 27.0+ · SDK 27.1
struct ParsingErrorA failure that occurs when a string cannot be parsed into GeneratedContent.
get underlyingError(): (NativeError) | nullSwift declarationvar underlyingError: (any Error)?The underlying error that caused the parsing failure, if any.
set underlyingError(value: (NativeError) | null)Swift declarationvar underlyingError: (any Error)?The underlying error that caused the parsing failure, if any.
static init(rawContent: string, underlyingError: (NativeError) | null, debugDescription: string): GeneratedContent_ParsingErrorSwift declarationinit(rawContent: String, underlyingError: (any Error)? = nil, debugDescription: String)Creates a parsing failure value. - Parameters: - rawContent: The raw content that could not be parsed. - underlyingError: The underlying error that caused the parsing failure, if any. - debugDescription: A debug description of what failed to parse.
get rawContent(): stringSwift declarationvar rawContent: StringThe raw content that could not be parsed.
set rawContent(value: string)Swift declarationvar rawContent: StringThe raw content that could not be parsed.
get debugDescription(): stringSwift declarationvar debugDescription: StringA debug description of what failed to parse.
set debugDescription(value: string)Swift declarationvar debugDescription: StringA debug description of what failed to parse.
get errorDescription(): (string) | nullSwift declarationvar errorDescription: String? { get }A localized message describing what error occurred.
No declarations were skipped in this snapshot.