Exception: Marko::StageError

Inherits:
MarkoError
  • Object
show all
Defined in:
lib/marko/errors.rb

Overview

Stage like load/compile errors

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



23
24
25
# File 'lib/marko/errors.rb', line 23

def errors
  @errors
end