connor4312 / cockatiel

🐦 A resilience and fault-handling library. Supports Backoffs, Retries, Circuit Breakers, Timeouts, Bulkhead Isolation, and Fallbacks.
MIT License
1.59k stars 50 forks source link

correct type predicates for errors #103

Closed jjdonov closed 1 week ago

jjdonov commented 2 weeks ago

fixes #100

This PR corrects the type predicates for IsolatedCircuitError and TaskCancelledError and adds tests to cover all the type predicates from the Error.ts file.

connor4312 commented 1 week ago

Thanks for the PR!