3 ms·
Generating state machine out of async fluent APIs was enlightening. How are are handling errors ? - One Error state with the context ?
by crudbug 10y ago
Generating state machine out of async fluent APIs was enlightening.
How are are handling errors ? - One Error state with the context ?
- hawkice 10y agoThis is probably better answered by how Rust handles errors generally: https://doc.rust-lang.org/book/error-handling.html https://doc.rust-lang.org/book/error-handling.html Suffice it to say, similar magic tricks have already been at work to make handling errors not soak up a lot of space, and it'd work well with something like this, I think.