Class: Upgrow::Error
- Inherits:
-
ImmutableObject
- Object
- ImmutableObject
- Upgrow::Error
- Defined in:
- lib/upgrow/error.rb
Overview
An Error is an all-purpose object that represents a failure in the performance of an Action. Errors are present in failure Results.
Error contains a code, which is a machine-friendly unique key that represents the type of error returned. Error also contain a message, which is the human-readable text explaining the particular failure that happened. Optinally Error might also have an attribute value, which is the attribute that caused the failure, in case the error was originated from an Input.
Instance Attribute Summary
Attributes inherited from ImmutableObject
Method Summary
Methods inherited from ImmutableObject
Constructor Details
This class inherits a constructor from Upgrow::ImmutableObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Upgrow::ImmutableObject