(target error)
| 45 | } |
| 46 | |
| 47 | func (f marked) Is(target error) bool { |
| 48 | // if this is false, errors.Is will call unwrap and retry on the wrapped |
| 49 | // error. |
| 50 | return errors.Is(f.mark, target) |
| 51 | } |
| 52 | |
| 53 | func (f marked) As(target any) bool { |
| 54 | // if this is false, errors.As will call unwrap and retry on the wrapped |
no outgoing calls