Exception: Lingo::BackendNotFoundError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LingoError

#class_name, #error

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

#fileObject (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_sObject



69
70
71
# File 'lib/lingo/error.rb', line 69

def to_s
  "No backend found for `#{file}'."
end