DEFINITIONS
This source file includes following functions.
1 #
2 # irb/lc/error.rb -
3 # $Release Version: 0.9$
4 # $Revision: 1.3 $
5 # $Date: 2002/07/09 11:17:17 $
6 # by Keiju ISHITSUKA(keiju@ishitsuka.com)
7 #
8 # --
9 #
10 #
11 #
12 require "e2mmap"
13
14 module IRB
15
16 # exceptions
17 extend Exception2MessageMapper
18 def_exception :UnrecognizedSwitch, "Unrecognized switch: %s"
19 def_exception :NotImplementError, "Need to define `%s'"
20 def_exception :CantRetuenNormalMode, "Can't return normal mode."
21 def_exception :IllegalParameter, "Illegal parameter(%s)."
22 def_exception :IrbAlreadyDead, "Irb is already dead."
23 def_exception :IrbSwitchToCurrentThread, "Change to current thread."
24 def_exception :NoSuchJob, "No such job(%s)."
25 def_exception :CanNotGoMultiIrbMode, "Can't go multi irb mode."
26 def_exception :CanNotChangeBinding, "Can't change binding to (%s)."
27 def_exception :UndefinedPromptMode, "Undefined prompt mode(%s)."
28
29 end
30