Closed ollyde closed 4 months ago
I would like if this library follows the rust standard where errors are a type we can manage and handle.
For example
object_to_validate.validate().unwrap_err()
This just returns a default error type with no way to infer what happened.
Since validate returns a Result, what you want is already possible.
I have modified the code in the readme sample to be simpler.
I would like if this library follows the rust standard where errors are a type we can manage and handle.
For example
This just returns a default error type with no way to infer what happened.