diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-04-26 16:15:34 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-04-26 16:15:34 +0200 |
commit | 29b04a269a96e22353728f56ba33b3e331bb1f61 (patch) | |
tree | 874cec8c8c79f1dfd44498bddb5ed255fb38123f /doc/src | |
parent | 3d8fef06886500f73d526d3179e4a1f78e0bfe88 (diff) |
doc: Rewrite section on error handling in libraries
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/03010-conventions.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/src/03010-conventions.md b/doc/src/03010-conventions.md index ccee1323..5e9ffe7e 100644 --- a/doc/src/03010-conventions.md +++ b/doc/src/03010-conventions.md @@ -63,12 +63,8 @@ think hard whether this is really necessary. ### Library error types/kinds -Libraries must use "error-chain" to create error types and kinds. -Most likely, a library needs some kinds for wrapping the errors from underlying -libraries, such as the store itself. +Libraries must use "failure" to create error objects. -A library must _never_ introduce multiple error types, but is free to introduce -as many error kinds as required. ### Libraries with commandline frontends |