Exception: Anima::Error Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Anima::Error
- Defined in:
- lib/anima/error.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Abstract base class for anima errors
Constant Summary collapse
- FORMAT =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
'%s attributes missing: %s, unknown: %s'.freeze
Instance Method Summary collapse
-
#initialize(klass, missing, unknown) ⇒ undefined
constructor
private
Initialize object.
Constructor Details
#initialize(klass, missing, unknown) ⇒ 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
15 16 17 |
# File 'lib/anima/error.rb', line 15 def initialize(klass, missing, unknown) super(FORMAT % [klass, missing, unknown]) end |