lib/protocol/http2/error.rb in protocol-http2-0.6.0 vs lib/protocol/http2/error.rb in protocol-http2-0.7.0
- old
+ new
@@ -84,10 +84,16 @@
end
attr :code
end
- class StreamClosed < ProtocolError
+ class HeaderError < ProtocolError
+ end
+
+ class StreamError < ProtocolError
+ end
+
+ class StreamClosed < StreamError
def initialize(message)
super message, STREAM_CLOSED
end
end