Exception: ValueObject::NotDeclaredFields
- Inherits:
-
Exception
- Object
- Exception
- ValueObject::NotDeclaredFields
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize ⇒ NotDeclaredFields
constructor
A new instance of NotDeclaredFields.
Constructor Details
#initialize ⇒ NotDeclaredFields
Returns a new instance of NotDeclaredFields.
15 16 17 |
# File 'lib/exceptions.rb', line 15 def initialize() super "At least one field must be declared" end |