fmenozzi/shadertoy-rs

Refactor error management

Closed this issue · 0 comments

  • Current solution is mostly readable at call sites but quite verbose and repetitive in the actual error module
  • Since this is not a library, Box<Error> might even be good enough
    • Preserves callsite readability with ?
  • Alternatively, consider something like the failure crate, which seems to be less verbose to set up than something like error-chain