Exception: ErbLatex::LatexError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/erb_latex/errors.rb

Overview

Encapsolates an error that occurs while processing a latex template

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, log = '') ⇒ LatexError

Returns a new instance of LatexError.



10
11
12
13
# File 'lib/erb_latex/errors.rb', line 10

def initialize( msg, log = '')
    super(msg)
    @log = log
end

Instance Attribute Details

#logObject (readonly)

Returns the value of attribute log.



8
9
10
# File 'lib/erb_latex/errors.rb', line 8

def log
  @log
end