PHP 8.2.30
Preview: error.rb Size: 573 B
//opt/alt/ruby22/lib64/ruby/2.2.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.40 KB lrw-r--r-- 2014-08-22 03:32:36
Edit Download
18.54 KB lrw-r--r-- 2014-08-22 03:32:36
Edit Download
573 B lrw-r--r-- 2011-05-19 00:07:25
Edit Download
2.56 KB lrw-r--r-- 2013-12-15 02:09:41
Edit Download
7.46 KB lrw-r--r-- 2014-08-26 02:44:26
Edit Download
3.56 KB lrw-r--r-- 2014-07-26 17:44:07
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).