Is implements method that's expected by errors.Is.
(target error)
| 112 | |
| 113 | // Is implements method that's expected by errors.Is. |
| 114 | func (*AppendPartialError) Is(target error) bool { |
| 115 | // This does not need to handle wrapped errors as AppendPartialError.Is should be used |
| 116 | // via errors.Is. |
| 117 | _, ok := target.(*AppendPartialError) |
| 118 | return ok |
| 119 | } |
| 120 | |
| 121 | // Handle handles the given err that may be an AppendPartialError. |
| 122 | // If the err is nil or not an AppendPartialError it returns err. |
no outgoing calls