nimble_options
nimble_options copied to clipboard
Add what validation failed to `NimbleOptions.ValidationError`
I'd like to be able to perform some additional processing when validation fails for specific reasons. This is difficult to do considering there's no way to know what caused the validation error beyond the error message.
I could see a :validation
field on NimbleOptions.ValidationError
that would have a value of :required
, {:type, :string}
, etc.