-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
API-breakingThis might introduce incompatible API changesThis might introduce incompatible API changescpp-rust-driver-p0Functionality required by cpp-rust-driverFunctionality required by cpp-rust-driver
Milestone
Description
Problem statement
There are quite a few places in driver's code where the errors' names and/or messages are inappropriate. Unjustified ProtocolError's usage is prevalent. We lack an error for faults triggered by user's logic, such as unwise custom RetryPolicy being used.
Proposed solution
Add more error variants (mainly for QueryError), fix the usaged to make names and messages appropriate. Stop abusing ProtocolError when no guilt is on received messages.
psarna
Metadata
Metadata
Assignees
Labels
API-breakingThis might introduce incompatible API changesThis might introduce incompatible API changescpp-rust-driver-p0Functionality required by cpp-rust-driverFunctionality required by cpp-rust-driver