Exception: Marko::StageError
- Inherits:
-
MarkoError
- Object
- StandardError
- MarkoError
- Marko::StageError
- Defined in:
- lib/marko/errors.rb
Overview
Stage like load/compile errors
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(msg, errors) ⇒ StageError
constructor
A new instance of StageError.
Constructor Details
#initialize(msg, errors) ⇒ StageError
Returns a new instance of StageError.
25 26 27 28 |
# File 'lib/marko/errors.rb', line 25 def initialize(msg, errors) @errors = errors super(msg) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
23 24 25 |
# File 'lib/marko/errors.rb', line 23 def errors @errors end |