lib/ircp.rb in ircp-0.0.3 vs lib/ircp.rb in ircp-0.0.4
- old
+ new
@@ -1,11 +1,11 @@
require 'ircp/version'
require 'ircp/parser'
require 'ircp/message'
module Ircp
- class ParseError < StandardError
- end
+ class IrcpError < RuntimeError; end
+ class ParseError < IrcpError; end
def self.message_parser
@message_parser ||= Ircp::Parser::MessageParser.new
end