Exception: Anima::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Anima::Error
- Includes:
- AbstractType
- Defined in:
- lib/anima/error.rb
Overview
Abstract base class for anima errors
Defined Under Namespace
Constant Summary collapse
- DOUBLE_COLON =
'::'.freeze
Instance Method Summary collapse
-
#initialize(object, names) ⇒ undefined
constructor
private
Initialize object.
Constructor Details
#initialize(object, names) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize object
29 30 31 |
# File 'lib/anima/error.rb', line 29 def initialize(object, names) super("#{name} attribute(s) #{names.inspect} for #{object.class}") end |