/usr/share/nadoka/ndk/error.rb is in nadoka 0.7.6-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #
# Copyright (c) 2004-2005 SASADA Koichi <ko1 at atdot.net>
#
# This program is free software with ABSOLUTELY NO WARRANTY.
# You can re-distribute and/or modify this program under
# the same terms of the Ruby's license.
#
#
# $Id: error.rb 20176 2010-10-23 06:02:12Z tach $
# Create : K.S. 04/04/20 23:57:17
#
module Nadoka
class NDK_Error < Exception
end
class NDK_QuitClient < NDK_Error
end
class NDK_BotBreak < NDK_Error
end
class NDK_BotSendCancel < NDK_Error
end
class NDK_QuitProgram < NDK_Error
end
class NDK_RestartProgram < NDK_Error
end
class NDK_ReconnectToServer < NDK_Error
end
class NDK_InvalidMessage < NDK_Error
end
####
class NDK_FilterMessage_SendCancel < NDK_Error
end
class NDK_FilterMessage_Replace < NDK_Error
def initialize msg
@msg = msg
end
attr_reader :msg
end
class NDK_FilterMessage_OnlyBot < NDK_Error
end
class NDK_FilterMessage_OnlyLog < NDK_Error
end
class NDK_FilterMessage_BotAndLog < NDK_Error
end
end
|