- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for unwrap (0.13 sec)
-
cmd/api-errors.go
// This way downstream context.Canceled will still report ErrRequestTimedout if contextCanceled(ctx) && errors.Is(ctx.Err(), context.Canceled) { return ErrClientDisconnected } // Unwrap the error first err = unwrapAll(err) switch err { case errInvalidArgument: apiErr = ErrAdminInvalidArgument case errNoSuchPolicy: apiErr = ErrAdminNoSuchPolicy case errNoSuchUser:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 91.4K bytes - Viewed (7)