Exception: Lingo::BackendNotFoundError
- Inherits:
-
BackendError
- Object
- StandardError
- LingoError
- BackendError
- Lingo::BackendNotFoundError
- Defined in:
- lib/lingo/error.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file) ⇒ BackendNotFoundError
constructor
A new instance of BackendNotFoundError.
- #to_s ⇒ Object
Methods inherited from LingoError
Constructor Details
#initialize(file) ⇒ BackendNotFoundError
Returns a new instance of BackendNotFoundError.
65 66 67 |
# File 'lib/lingo/error.rb', line 65 def initialize(file) @file = file end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
63 64 65 |
# File 'lib/lingo/error.rb', line 63 def file @file end |
Instance Method Details
#to_s ⇒ Object
69 70 71 |
# File 'lib/lingo/error.rb', line 69 def to_s "No backend found for `#{file}'." end |