PHP 8.2.31
Preview: error.rb Size: 863 B
/proc/thread-self/root/opt/alt/ruby19/lib64/ruby/1.9.1/irb/lc/error.rb

#
#   irb/lc/error.rb -
#   	$Release Version: 0.9.6$
#   	$Revision: 25189 $
#   	by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#
require "e2mmap"

module IRB

  # exceptions
  extend Exception2MessageMapper
  def_exception :UnrecognizedSwitch, "Unrecognized switch: %s"
  def_exception :NotImplementedError, "Need to define `%s'"
  def_exception :CantReturnToNormalMode, "Can't return to normal mode."
  def_exception :IllegalParameter, "Invalid parameter(%s)."
  def_exception :IrbAlreadyDead, "Irb is already dead."
  def_exception :IrbSwitchedToCurrentThread, "Switched to current thread."
  def_exception :NoSuchJob, "No such job(%s)."
  def_exception :CantShiftToMultiIrbMode, "Can't shift to multi irb mode."
  def_exception :CantChangeBinding, "Can't change binding to (%s)."
  def_exception :UndefinedPromptMode, "Undefined prompt mode(%s)."

end

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
ja DIR
- drwxr-xr-x 2024-03-03 22:48:05
Edit Download
863 B lrw-r--r-- 2009-10-02 12:04:37
Edit Download
1.43 KB lrw-r--r-- 2011-05-18 14:09:38
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).