softprops / recap

deserialize typed structures from regex captures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recap should export its own error type instead of having `envy` as dependency

Ten0 opened this issue · comments

The dep on envy is unnecessary, and its error variants don't particularly make sense for here.
Instead, I would expect something like:

enum Error {
    RegexDoesNotMatchInputString,
    DeserializationError{ ... }
}