enum Protocol::Network::ErrorReason

Overview

Network level fetch failure reason.

Defined in:

protocol/network.cr

Enum Members

Failed = 0
Aborted = 1
TimedOut = 2
AccessDenied = 3
ConnectionClosed = 4
ConnectionReset = 5
ConnectionRefused = 6
ConnectionAborted = 7
ConnectionFailed = 8
NameNotResolved = 9
InternetDisconnected = 10
AddressUnreachable = 11
BlockedByClient = 12
BlockedByResponse = 13

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def aborted? #

[View source]
def access_denied? #

[View source]
def address_unreachable? #

[View source]
def blocked_by_client? #

[View source]
def blocked_by_response? #

[View source]
def connection_aborted? #

[View source]
def connection_closed? #

[View source]
def connection_failed? #

[View source]
def connection_refused? #

[View source]
def connection_reset? #

[View source]
def failed? #

[View source]
def internet_disconnected? #

[View source]
def name_not_resolved? #

[View source]
def timed_out? #

[View source]