Sha256: 3baff74db6b8e9a61461ccbd6ad4f3c4b112141ea153475bf64266ac49dbdd44

Contents?: true

Size: 561 Bytes

Versions: 8

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2019-2023, by Samuel Williams.

require 'protocol/http/error'

module Protocol
	module HTTP1
		class Error < HTTP::Error
		end
		
		class InvalidRequest < Error
		end
		
		# The specified content length and the given content's length do not match.
		class ContentLengthError < 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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
protocol-http1-0.19.1 lib/protocol/http1/error.rb
protocol-http1-0.19.0 lib/protocol/http1/error.rb
protocol-http1-0.18.0 lib/protocol/http1/error.rb
protocol-http1-0.17.0 lib/protocol/http1/error.rb
protocol-http1-0.16.1 lib/protocol/http1/error.rb
protocol-http1-0.16.0 lib/protocol/http1/error.rb
protocol-http1-0.15.1 lib/protocol/http1/error.rb
protocol-http1-0.15.0 lib/protocol/http1/error.rb