PHP 8.2.31
Preview: error.rb Size: 573 B
//proc/thread-self/root/opt/alt/ruby20/lib64/ruby/2.0.0/shell/error.rb

#
#   shell/error.rb -
#       $Release Version: 0.7 $
#       $Revision: 31641 $
#       by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#

require "e2mmap"

class Shell
  module Error
    extend Exception2MessageMapper
    def_e2message TypeError, "wrong argument type %s (expected %s)"

    def_exception :DirStackEmpty, "Directory stack empty."
    def_exception :CantDefine, "Can't define method(%s, %s)."
    def_exception :CantApplyMethod, "This method(%s) does not apply to this type(%s)."
    def_exception :CommandNotFound, "Command not found(%s)."
  end
end

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
2.63 KB lrw-r--r-- 2011-05-19 00:07:25
Edit Download
18.50 KB lrw-r--r-- 2012-12-05 02:55:07
Edit Download
573 B lrw-r--r-- 2011-05-19 00:07:25
Edit Download
2.56 KB lrw-r--r-- 2012-12-05 02:55:07
Edit Download
7.96 KB lrw-r--r-- 2011-11-05 07:37:47
Edit Download
3.60 KB lrw-r--r-- 2011-11-05 07:37:47
Edit Download
255 B lrw-r--r-- 2012-12-05 02:55:07
Edit Download

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