enum

Fetcher::ErrorKind

Inherits Enum < Comparable < Value < Object

Constants

DNSError = 0
Timeout = 1
InvalidURL = 2
InvalidFormat = 3
HTTPError = 4
RateLimited = 5
ServerError = 6
TooLarge = 7
Unknown = 8
MissingLocationHeader = 9

Instance methods

dns_error?

Returns true if this enum value equals DNSError

Source
http_error?

Returns true if this enum value equals HTTPError

Source
invalid_format?

Returns true if this enum value equals InvalidFormat

Source
invalid_url?

Returns true if this enum value equals InvalidURL

Source
missing_location_header?

Returns true if this enum value equals MissingLocationHeader

Source
rate_limited?

Returns true if this enum value equals RateLimited

Source
server_error?

Returns true if this enum value equals ServerError

Source
timeout?

Returns true if this enum value equals Timeout

Source
too_large?

Returns true if this enum value equals TooLarge

Source
unknown?

Returns true if this enum value equals Unknown

Source