Exception: Veto::InvalidEntity
- Defined in:
- lib/veto/exceptions.rb
Instance Method Summary collapse
-
#initialize(errors) ⇒ InvalidEntity
constructor
A new instance of InvalidEntity.
- #message ⇒ Object
Constructor Details
#initialize(errors) ⇒ InvalidEntity
Returns a new instance of InvalidEntity.
7 8 9 |
# File 'lib/veto/exceptions.rb', line 7 def initialize(errors) @errors = errors end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/veto/exceptions.rb', line 11 def @errors. end |