class Lingo::DatabaseError

Attributes

action[R]
err[R]
file[R]

Public Class Methods

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

Public Instance Methods

to_s() click to toggle source
# File lib/lingo/error.rb, line 95
def to_s
  error("An error occured while trying to #{action} `#{file}'")
end