Exception: Bijou::ParseError

Inherits:
Exception
  • Object
show all
Defined in:
lib/bijou/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, diagnostics) ⇒ ParseError

Returns a new instance of ParseError.



22
23
24
25
# File 'lib/bijou/exception.rb', line 22

def initialize(filename, diagnostics)
  @filename = filename
  @diagnostics = diagnostics
end

Instance Attribute Details

#diagnosticsObject (readonly)

Returns the value of attribute diagnostics.



20
21
22
# File 'lib/bijou/exception.rb', line 20

def diagnostics
  @diagnostics
end

#filenameObject (readonly)

Returns the value of attribute filename.



20
21
22
# File 'lib/bijou/exception.rb', line 20

def filename
  @filename
end