Exception: RailsLatex::ProcessingError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rails-latex/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'RailsLatex processing failed.', src = '', log = '') ⇒ ProcessingError

Returns a new instance of ProcessingError.



4
5
6
7
8
# File 'lib/rails-latex/errors.rb', line 4

def initialize(msg = 'RailsLatex processing failed.', src = '', log = '')
  @src = src
  @log = log
  super(msg)
end

Instance Attribute Details

#logObject (readonly)

Returns the value of attribute log.



3
4
5
# File 'lib/rails-latex/errors.rb', line 3

def log
  @log
end

#srcObject (readonly)

Returns the value of attribute src.



3
4
5
# File 'lib/rails-latex/errors.rb', line 3

def src
  @src
end