Exception: Lingo::ConfigLoadError
- Inherits:
-
ConfigError
- Object
- StandardError
- LingoError
- ConfigError
- Lingo::ConfigLoadError
- Defined in:
- lib/lingo/error.rb
Instance Attribute Summary collapse
-
#err ⇒ Object
readonly
Returns the value of attribute err.
Attributes inherited from ConfigError
Instance Method Summary collapse
-
#initialize(err) ⇒ ConfigLoadError
constructor
A new instance of ConfigLoadError.
- #to_s ⇒ Object
Methods inherited from LingoError
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
#err ⇒ Object (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_s ⇒ Object
122 123 124 |
# File 'lib/lingo/error.rb', line 122 def to_s error("Error loading config") end |