HttpError¶
Import: import system.net;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
HttpError¶
A transport, validation, cancellation, deadline, or capability failure; HTTP statuses are not errors.
constructor¶
Creates a failure with a stable machine code and a human-readable description.
code¶
Stable category such as EINVAL, ETIMEOUT, ECANCELLED, ECLOSED, or ENOTSUP.
message¶
Human-readable failure detail; transport adapters omit request URLs from error messages.