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 = $!) ⇒ BibTeXError

Returns a new instance of BibTeXError.


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

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

Instance Attribute Details

#originalObject (readonly)

Returns the value of attribute original


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

def original
  @original
end