Skip to content

Commit 90664f5

Browse files
committed
[-] updated README file with new error types
1 parent c38d0fb commit 90664f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ Go 1.13+
4343
9. TypeMaximumAttempts - For attempting the same action more than an allowed threshold
4444
10. TypeSubscriptionExpired - For when a user's 'paid' account has expired
4545
11. TypeDownstreamDependencyTimedout - For when a request to a downstream dependent service times out
46+
12. TypeNotImplemented - For when the requested function cannot be fullfilled because of incapability
47+
13. TypeContextTimedout - For when the Go context has timed out
48+
14. TypeContextCancelled - For when the Go context has been cancelled
4649

4750
Helper functions are available for all the error types. Each of them have 2 helper functions, one which accepts only a string,
4851
and the other which accepts an original error as well as a user friendly message.

0 commit comments

Comments
 (0)