Exception: Lingo::ConfigLoadError

Inherits:
ConfigError show all
Defined in:
lib/lingo/error.rb

Instance Attribute Summary collapse

Attributes inherited from ConfigError

#id

Instance Method Summary collapse

Methods inherited from LingoError

#class_name, #error

Constructor Details

#initialize(err) ⇒ ConfigLoadError

Returns a new instance of ConfigLoadError.



118
119
120
# File 'lib/lingo/error.rb', line 118

def initialize(err)
  @err = err
end

Instance Attribute Details

#errObject (readonly)

Returns the value of attribute err.



116
117
118
# File 'lib/lingo/error.rb', line 116

def err
  @err
end

Instance Method Details

#to_sObject



122
123
124
# File 'lib/lingo/error.rb', line 122

def to_s
  error("Error loading config")
end