class NRSER::ValueError
Raised when there is a problem with a value that does not fall into one of the other built-in exception categories (non-exhaustive list):
-
It's the wrong type (
TypeError
) -
It's an argument (
ArgumentError
)
It is encouraged to attach the invalid value as the `value:` keyword argument, which is then stored in {#context} hash and can be accessed via {#value}.