Exception: BibTeX::BibTeXError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bibtex/error.rb

Direct Known Subclasses

ArgumentError, ParseError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, original = $ERROR_INFO) ⇒ BibTeXError

Returns a new instance of BibTeXError.



5
6
7
8
# File 'lib/bibtex/error.rb', line 5

def initialize(message = nil, original = $ERROR_INFO)
  super(message)
  @original = original
end

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original.



3
4
5
# File 'lib/bibtex/error.rb', line 3

def original
  @original
end