class Lingo::BackendNotAvailableError

Attributes

err[R]
file[R]
name[R]

Public Class Methods

new(name, file, err) click to toggle source
# File lib/lingo/error.rb, line 78
def initialize(name, file, err)
  @name, @file, @err = name, file, err
end

Public Instance Methods

to_s() click to toggle source
# File lib/lingo/error.rb, line 82
def to_s
  msg = "Backend not available `#{name}'"
  error(file ? msg << " for `#{file}'" : msg)
end