* Automatically build API documentation using Typedoc and Docusaurus * Move MD and move to MDX for Docusaurus Guides
2.0 KiB
id | title | sidebar_label | custom_edit_url | hide_title |
---|---|---|---|---|
index.errorwithcause | Interface: ErrorWithCause | index.ErrorWithCause | null | true |
Interface: ErrorWithCause
index.ErrorWithCause
Represents a JSON-style error cause. This contains native NSError
/Throwable
information, and can have recursive .cause
properties until the ultimate cause has been found.
Properties
cause
• Optional
cause: undefined | ErrorWithCause
Optional additional cause for nested errors
- iOS: N/A
- Android:
Throwable.cause
Defined in: src/CameraError.ts:84
code
• Optional
code: undefined | number
The native error's code.
- iOS:
NSError.code
- Android: N/A
Defined in: src/CameraError.ts:49
details
• Optional
details: undefined | Record<string, unknown>
Optional additional details
- iOS:
NSError.userInfo
- Android: N/A
Defined in: src/CameraError.ts:70
domain
• Optional
domain: undefined | string
The native error's domain.
- iOS:
NSError.domain
- Android: N/A
Defined in: src/CameraError.ts:56
message
• message: string
The native error description (Localized on iOS)
- iOS:
NSError.message
- Android:
Throwable.message
Defined in: src/CameraError.ts:63
stacktrace
• Optional
stacktrace: undefined | string
Optional stacktrace
- iOS: N/A
- Android:
Throwable.stacktrace.toString()
Defined in: src/CameraError.ts:77