Skip to content

API Reference — Pool — Error sets

New to the concept? See Building Blocks — Pool first.


Error Meaning
error.Closed Pool was closed via close()
error.NotAvailable available_only mode, no stored handle
error.NotCreated on_get was called but did not return a handle
error.Timeout timeout_ns expired (only when non-null, get_wait only)
error.Canceled Waiting operation was canceled (get_wait only)

Next: Event source helpers.