Is convenience passthrough for the native errors.Is method
(err, target error)
| 21 | |
| 22 | // Is convenience passthrough for the native errors.Is method |
| 23 | func Is(err, target error) bool { |
| 24 | return errors.Is(err, target) |
| 25 | } |
| 26 | |
| 27 | // As convenience passthrough for the native errors.As method |
| 28 | func As(err error, target any) bool { |