module
Cryload::ErrorCategory
Overview
Maps transport exceptions onto a fixed vocabulary. v5 reported Crystal exception class names, which made the JSON report a hostage of stdlib refactors; these names are part of the documented schema instead.
Extended Modules
Defined in:
cryload/error_category.crConstant Summary
-
ALL =
[DNS_FAILURE, CONNECT_REFUSED, CONNECT_TIMEOUT, CONNECT_FAILED, READ_TIMEOUT, WRITE_TIMEOUT, REQUEST_TIMEOUT, CONNECTION_RESET, CONNECTION_CLOSED, TLS_ERROR, PROXY_ERROR, PROTOCOL_ERROR, OTHER] -
CONNECT_FAILED =
"connect_failed" -
CONNECT_REFUSED =
"connect_refused" -
CONNECT_TIMEOUT =
"connect_timeout" -
CONNECTION_CLOSED =
"connection_closed" -
CONNECTION_RESET =
"connection_reset" -
DNS_FAILURE =
"dns_failure" -
OTHER =
"other" -
PROTOCOL_ERROR =
"protocol_error" -
PROXY_ERROR =
"proxy_error" -
READ_TIMEOUT =
"read_timeout" -
REQUEST_TIMEOUT =
"request_timeout" -
TLS_ERROR =
"tls_error" -
WRITE_TIMEOUT =
"write_timeout"