Exception: CommonMarker::RenderError
- Inherits:
-
StandardError
- Object
- StandardError
- CommonMarker::RenderError
- Defined in:
- lib/commonmarker/errors.rb
Constant Summary collapse
- PREAMBLE =
'There was an error rendering'
Instance Method Summary collapse
-
#initialize(error) ⇒ RenderError
constructor
A new instance of RenderError.
Constructor Details
#initialize(error) ⇒ RenderError
Returns a new instance of RenderError.
8 9 10 |
# File 'lib/commonmarker/errors.rb', line 8 def initialize(error) super("#{PREAMBLE}: #{error.class} #{error.}") end |