As wraps the standard errors.As function so that we don't need to alias that package.
(err error, target any)
| 63 | |
| 64 | // As wraps the standard errors.As function so that we don't need to alias that package. |
| 65 | func As(err error, target any) bool { |
| 66 | return errors.As(err, target) |
| 67 | } |
| 68 | |
| 69 | // Unwrap wraps the standard errors.Unwrap function so that we don't need to alias that package. |
| 70 | func Unwrap(err error) error { |
no outgoing calls
no test coverage detected