data Timeout
A network call did not finish in time (an rpc, an actor message, a socket read). One of the alternatives of NetError.
Example:
fn retryable(e: NetError) -> bool {
match e {
Timeout _ => true
Unavailable _ => true
_ => false
}
}
fn main() io {
print("{retryable(Timeout{})}")
}Output
true
@error pub(api) data TimeoutSince. 1.0.0-beta
Defined in: std/core/types.oxl:1276