diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ERRORS.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ERRORS.md b/docs/ERRORS.md index a6e7a6a..4f99e7c 100644 --- a/docs/ERRORS.md +++ b/docs/ERRORS.md @@ -72,7 +72,7 @@ finally: ... ``` -This creates a distinction between two types of error handling, working in sync: functional error handling with [Option](https://en.wikipedia.org/wiki/Option_type) and [Result](https://en.wikipedia.org/wiki/Result_type) types, and object-oriented error handling with [catchable exceptions](https://en.wikipedia.org/wiki/Exception_handling). These styles may be swapped between with minimal syntax overhead. Libraries, however, should universally use `Option`/`Result`, as this provides the best support for both styles. +This creates a distinction between two types of error handling, working in sync: functional error handling with [Option](https://en.wikipedia.org/wiki/Option_type) and [Result](https://en.wikipedia.org/wiki/Result_type) types, and object-oriented error handling with [catchable exceptions](https://en.wikipedia.org/wiki/Exception_handling). These styles may be swapped between with minimal syntactic overhead. Libraries, however, should universally use `Option`/`Result`, as this provides the best support for both styles. <!-- [nullable types](https://en.wikipedia.org/wiki/Nullable_type)?? --> |