2008-12-18 13:09:26 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2009-03-06 03:56:38 +00:00
|
|
|
# irb/lc/ja/error.rb -
|
2009-07-07 11:36:20 +00:00
|
|
|
# $Release Version: 0.9.6$
|
2001-04-30 17:38:21 +00:00
|
|
|
# $Revision$
|
2005-04-13 15:27:09 +00:00
|
|
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
2001-04-30 17:38:21 +00:00
|
|
|
#
|
|
|
|
# --
|
|
|
|
#
|
2009-03-06 03:56:38 +00:00
|
|
|
#
|
2001-04-30 17:38:21 +00:00
|
|
|
#
|
|
|
|
require "e2mmap"
|
|
|
|
|
|
|
|
module IRB
|
2001-05-03 08:56:49 +00:00
|
|
|
# exceptions
|
2001-04-30 17:38:21 +00:00
|
|
|
extend Exception2MessageMapper
|
2008-12-18 13:09:26 +00:00
|
|
|
def_exception :UnrecognizedSwitch, 'スイッチ(%s)が分りません'
|
|
|
|
def_exception :NotImplementedError, '`%s\'の定義が必要です'
|
|
|
|
def_exception :CantReturnToNormalMode, 'Normalモードに戻れません.'
|
|
|
|
def_exception :IllegalParameter, 'パラメータ(%s)が間違っています.'
|
|
|
|
def_exception :IrbAlreadyDead, 'Irbは既に死んでいます.'
|
|
|
|
def_exception :IrbSwitchedToCurrentThread, 'カレントスレッドに切り替わりました.'
|
|
|
|
def_exception :NoSuchJob, 'そのようなジョブ(%s)はありません.'
|
|
|
|
def_exception :CantShiftToMultiIrbMode, 'multi-irb modeに移れません.'
|
|
|
|
def_exception :CantChangeBinding, 'バインディング(%s)に変更できません.'
|
|
|
|
def_exception :UndefinedPromptMode, 'プロンプトモード(%s)は定義されていません.'
|
2001-04-30 17:38:21 +00:00
|
|
|
end
|
2008-12-18 13:09:26 +00:00
|
|
|
# vim:fileencoding=utf-8
|