IronCoreLabs / IronCoreLabs/tenant-security-client-java

Add an `isTransient()` or something similar to `TenantSecurityException`

Aperta
#75 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
3
Fork
4
Merge medio
50m
PR unite (30g)
4

Descrizione

Adding an `isTransient()` method to [TenantSecurityException](https://github.com/IronCoreLabs/tenant-security-client-java/blob/59f06568cfc6b4ea5b3e0ba7d21a55dc37372500/src/main/java/com/ironcorelabs/tenantsecurity/kms/v1/exception/TenantSecurityException.java#L12) would make it a lot more convenient for consumers of the library to know if they should retry an operation or not.

The major unknown would be what to do for things that are on the borderline, like a KMS auth error, which may go away on retry if the tenant happens to change something on the KMS side, but likely won't until a later time.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.