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 93 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 97 def to_s error("An error occured while trying to #{action} `#{file}'") end