Don't localize error messages

This commit is contained in:
Marc Rousavy
2021-03-26 15:54:27 +01:00
parent 6bc31d922e
commit 750af31a80
6 changed files with 9 additions and 9 deletions

View File

@@ -42,7 +42,7 @@ The `CameraError` type is a baseclass type for all other errors and provides the
* `code`: A typed code in the form of `{domain}/{code}` that can be used to quickly identify and group errors
* `message`: A non-localized message text that provides a more information and context about the error and possibly problematic values.
* `cause?`: An `ErrorWithCause` instance that provides information about the cause of the error. (Optional)
* `cause.message`: The message of the error that caused the camera error. This is localized on iOS.
* `cause.message`: The message of the error that caused the camera error.
* `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)