lib/protocol/http/error.rb in protocol-http-0.3.0 vs lib/protocol/http/error.rb in protocol-http-0.4.0

- old
+ new

@@ -1,7 +1,8 @@ +# frozen_string_literal: true +# # Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com> -# Copyright, 2013, by Ilya Grigorik. # # 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 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -19,9 +20,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. module Protocol module HTTP + # A generic, HTTP protocol error. class Error < StandardError end end end