-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Is your feature request related to a problem? Please describe.
The Client provides an initialized_async method to wait until it has completed initialization. The function returns false if an error occurs, but there doesn't seem to be a way to access the error for logging purposes. This could make it a challenge to debug initialization issues.
Describe the solution you'd like
A more idiomatic interface in Rust would be to have initialized_async return something like Result<(), InitError> and define an InitError type to describe the different failure conditions that might arise.
Describe alternatives you've considered
A separate method could be used to retrieve the error (e.g., returning Option<InitError>.
avocadomaster and saks
Metadata
Metadata
Assignees
Labels
No labels