atlassian-labs / db-replica

Automatically chooses between database connections to read-write main or read-only replica
Apache License 2.0
10 stars 11 forks source link

Throw `ReadReplicaConnectionCreationException` when failing to connect #152

Closed wyrzyk closed 1 year ago

wyrzyk commented 2 years ago

Throw ReadReplicaConnectionCreationException when failing to connect to a replica

I want to clean up all the usages of internals in the product. I need to promote the exception to the API.