PHP 8.2.31
Preview: error.rb Size: 604 B
/proc/thread-self/root/opt/alt/ruby25/lib64/ruby/2.5.0/shell/error.rb

# frozen_string_literal: false
#
#   shell/error.rb -
#       $Release Version: 0.7 $
#       $Revision: 53141 $
#       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.43 KB lrw-r--r-- 2021-04-05 11:46:35
Edit Download
18.70 KB lrw-r--r-- 2021-04-05 11:46:35
Edit Download
604 B lrw-r--r-- 2021-04-05 11:46:35
Edit Download
2.59 KB lrw-r--r-- 2021-04-05 11:46:35
Edit Download
7.51 KB lrw-r--r-- 2021-04-05 11:46:35
Edit Download
3.59 KB lrw-r--r-- 2021-04-05 11:46:35
Edit Download
286 B lrw-r--r-- 2021-04-05 11:46:35
Edit Download

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