1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/irb/lc/ja/error.rb
Nobuyoshi Nakada 8760b270ed [ruby/irb] Move :stopdoc: directive
If this is at the top level, it stops the documentation of the
entire module, but not only the part in this file.

https://github.com/ruby/irb/commit/86c41b06ad
2022-03-14 14:40:28 +09:00

74 lines
1.8 KiB
Ruby

# -*- coding: utf-8 -*-
# frozen_string_literal: false
# irb/lc/ja/error.rb -
# $Release Version: 0.9.6$
# $Revision$
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#
module IRB
# :stopdoc:
class UnrecognizedSwitch < StandardError
def initialize(val)
super("スイッチ(#{val})が分りません")
end
end
class NotImplementedError < StandardError
def initialize(val)
super("`#{val}'の定義が必要です")
end
end
class CantReturnToNormalMode < StandardError
def initialize
super("Normalモードに戻れません.")
end
end
class IllegalParameter < StandardError
def initialize(val)
super("パラメータ(#{val})が間違っています.")
end
end
class IrbAlreadyDead < StandardError
def initialize
super("Irbは既に死んでいます.")
end
end
class IrbSwitchedToCurrentThread < StandardError
def initialize
super("カレントスレッドに切り替わりました.")
end
end
class NoSuchJob < StandardError
def initialize(val)
super("そのようなジョブ(#{val})はありません.")
end
end
class CantShiftToMultiIrbMode < StandardError
def initialize
super("multi-irb modeに移れません.")
end
end
class CantChangeBinding < StandardError
def initialize(val)
super("バインディング(#{val})に変更できません.")
end
end
class UndefinedPromptMode < StandardError
def initialize(val)
super("プロンプトモード(#{val})は定義されていません.")
end
end
class IllegalRCGenerator < StandardError
def initialize
super("RC_NAME_GENERATORが正しく定義されていません.")
end
end
# :startdoc:
end
# vim:fileencoding=utf-8