lib/protocol/http1/error.rb in protocol-http1-0.1.0 vs lib/protocol/http1/error.rb in protocol-http1-0.2.0

- old
+ new

@@ -20,12 +20,13 @@ require 'protocol/http/error' module Protocol module HTTP1 - class BadRequest < HTTP::BadRequest + class Error < HTTP::Error end - class ProtocolError < HTTP::ProtocolError + # The request was parsed correctly, but was invalid for some other reason. + class BadRequest < Error end end end