lib/protocol/http1/error.rb in protocol-http1-0.10.1 vs lib/protocol/http1/error.rb in protocol-http1-0.10.2

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + # Copyright, 2019, by Samuel G. D. Williams. <http://www.codeotaku.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights @@ -28,9 +30,12 @@ class InvalidRequest < Error end # The request was parsed correctly, but was invalid for some other reason. class BadRequest < Error + end + + class BadHeader < Error end class BadResponse < Error end end