Update ERRORS.md

This commit is contained in:
Marc Rousavy 2021-02-23 18:46:58 +01:00 committed by GitHub
parent 12236735b0
commit bafd5de8fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,11 +46,11 @@ The `CameraError` type is a baseclass type for all other errors and provides the
* `message`: A non-localized message text that provides a more information and context about the error and possibly problematic values.
* (optional) `cause`: An `ErrorWithCause` instance that provides information about the cause of the error.
* `cause.message`: The message of the error that caused the camera error. This is localized on iOS.
* (iOS) `cause.code`: The native error's error-code. (iOS only)
* (iOS) `cause.domain`: The native error's domain. (iOS only)
* (iOS) `cause.details`: More dictionary-style information about the cause. (iOS only)
* (Android) `cause.stacktrace`: A native Java stacktrace for the cause.
* (optional) `cause.cause`: The cause that caused the given error. (Recursive)
* `cause.code?`: The native error's error-code. (iOS only)
* `cause.domain?`: The native error's domain. (iOS only)
* `cause.details?`: More dictionary-style information about the cause. (iOS only)
* `cause.stacktrace?`: A native Java stacktrace for the cause. (Android only)
* `cause.cause?`: The cause that caused the given error. (Recursive) (Optional)
### Runtime Errors