Exception: Tabledata::LibraryMissingError

Inherits:
LoadError
  • Object
show all
Includes:
Exception
Defined in:
lib/tabledata/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, message, error) ⇒ LibraryMissingError


40
41
42
43
44
45
# File 'lib/tabledata/exceptions.rb', line 40

def initialize(name, message, error)
  @name  = name
  @cause = error

  super(message)
end

Instance Attribute Details

#causeObject (readonly)

Returns the value of attribute cause


38
39
40
# File 'lib/tabledata/exceptions.rb', line 38

def cause
  @cause
end

#nameObject (readonly)

Returns the value of attribute name


38
39
40
# File 'lib/tabledata/exceptions.rb', line 38

def name
  @name
end