Skip to content
Snippets Groups Projects
Commit 822e9991 authored by Georges Racinet's avatar Georges Racinet
Browse files

errors: introduced ServiceError to enable exception-based treatment

The existing functions such as `not_found()` are useful for a
quick and early return, but they are impractical for mutualization
or chaining (this is not Rust, we have neither the `Result<T, E>`
type nor the `?` operator for easy propagation).
parent 3ee52110
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment