[ CCode ( cname = "lcb_error_callback" , has_target = false , has_type_id = false ) ]
public delegate void ErrorCallback (Client instance, StatusResponse status, string? error)
The error callback called when we don't have a request context. This callback may be called when we encounter memory/network error(s), and we can't map it directly to an operation.
instance |
the instance performing the operation |
status |
The StatusResponse we encountered |
error |
An optional string with more information about the error (if available) |