-
Dominik Charousset authored
Remove `error_atom` and `with_either<T>::or_else<U>`. Instead, typed actors are allowed to return `maybe<T>` instead of `T` and report errors back to synchronous callers via explicit errors. Errors are omitted for asynchronous ("fire-and-forget") clients. All errors in CAF are bundled in `caf::sec` (System Error Codes), but users of CAF are free to define custom errors. Relates #369 and relates #367.
296c20de