ChannelError¶
Import: import system.task;
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.
ChannelError¶
Distinguishes backpressure, exhausted inputs, closed endpoints, and cancellation.
Full¶
The queue has reached its configured capacity.
Empty¶
No item is available yet.
Closed¶
The relevant endpoint has closed.
Cancelled¶
The pending operation was cancelled.
InvalidCapacity¶
A bounded channel was created with a capacity of zero or less.
code¶
Returns EFULL, EEMPTY, ECLOSED, ECANCELED, or EINVAL for the variant.
message¶
Returns a readable description of the failure.