top | item 36400959

(no title)

dthul | 2 years ago

That depends on the type you use to represent errors. A more "fancy" error type will allow you to add context / backtraces / whatever you want, while a simpler error type, for example just an error code, does not. (The error type is the E in Result<T, E>).

discuss

order

No comments yet.