NAME
Valiant::NestedError - An error imported from another object's errors collection
DESCRIPTION
A subclass of Valiant::Error used by "import_error" in Valiant::Errors and "merge" in Valiant::Errors to wrap errors that originated on another object (for example when validations on a nested object add errors that need to appear on the parent). Its message delegates to the original error so translation happens against the object the error was created on.
You won't usually create one of these yourself.
ATTRIBUTES
inner_error
The original Valiant::Error object this error wraps.
SEE ALSO
Valiant, Valiant::Error, Valiant::Errors.
AUTHOR
See Valiant
COPYRIGHT & LICENSE
See Valiant