Exception: Rodolfo::RenderError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rodolfo/exceptions.rb

Overview

Template rendering failed

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ RenderError

Returns a new instance of RenderError.



6
7
8
# File 'lib/rodolfo/exceptions.rb', line 6

def initialize(errors)
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



4
5
6
# File 'lib/rodolfo/exceptions.rb', line 4

def errors
  @errors
end