Interface: 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: ErrorWithCause
Optional additional cause for nested errors
- iOS: N/A
- Android:
Throwable.cause
Defined in​
CameraError.ts:117
code​
• Optional
code: number
The native error's code.
- iOS:
NSError.code
- Android: N/A
Defined in​
CameraError.ts:82
details​
• Optional
details: Record
<string
, unknown
>
Optional additional details
- iOS:
NSError.userInfo
- Android: N/A
Defined in​
CameraError.ts:103
domain​
• Optional
domain: string
The native error's domain.
- iOS:
NSError.domain
- Android: N/A
Defined in​
CameraError.ts:89
message​
• message: string
The native error description
- iOS:
NSError.message
- Android:
Throwable.message
Defined in​
CameraError.ts:96
stacktrace​
• Optional
stacktrace: string
Optional Java stacktrace
- iOS: N/A
- Android:
Throwable.stacktrace.toString()
Defined in​
CameraError.ts:110