Exception: Unparser::Anima::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Unparser::Anima::Error
- Defined in:
- lib/unparser/anima/error.rb
Overview
Abstract base class for anima errors
Constant Summary collapse
- FORMAT =
'%s attributes missing: %s, unknown: %s'.freeze
Instance Method Summary collapse
-
#initialize(klass, missing, unknown) ⇒ undefined
constructor
Initialize object.
Constructor Details
#initialize(klass, missing, unknown) ⇒ undefined
Initialize object
18 19 20 |
# File 'lib/unparser/anima/error.rb', line 18 def initialize(klass, missing, unknown) super(format(FORMAT, klass, missing, unknown)) end |