lib/arborist/exceptions.rb in arborist-0.1.0 vs lib/arborist/exceptions.rb in arborist-0.2.0.pre20170519125456

- old
+ new

@@ -5,13 +5,13 @@ # Arborist namespace module Arborist class ClientError < RuntimeError; end - class RequestError < ClientError + class MessageError < ClientError def initialize( reason ) - super( "Invalid request (#{reason})" ) + super( "Invalid message (#{reason})" ) end end class ServerError < RuntimeError; end