Update ERRORS.md
This commit is contained in:
parent
14fec709e5
commit
f40fdf8cf5
@ -45,7 +45,7 @@ switch (error.code) {
|
||||
|
||||
The `CameraError` type is a baseclass type for all other errors, and should only be used internally. It, and therefore all other error classes, provide the following properties:
|
||||
|
||||
* `code`: A typed code that can be used to quickly identify and group errors
|
||||
* `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.
|
||||
* (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.
|
||||
|
Loading…
Reference in New Issue
Block a user