From bafd5de8fc42bc81fc38291261121d814e9f28a9 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 23 Feb 2021 18:46:58 +0100 Subject: [PATCH] Update ERRORS.md --- docs/ERRORS.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ERRORS.md b/docs/ERRORS.md index f5f51a0..cbfb84c 100644 --- a/docs/ERRORS.md +++ b/docs/ERRORS.md @@ -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