Is determines if the error is an instance of another error. It's required for the errors package to search in causal chain.
(target error)
| 26 | // Is determines if the error is an instance of another error. It's required for the |
| 27 | // errors package to search in causal chain. |
| 28 | func (e *Error) Is(target error) bool { |
| 29 | var err *Error |
| 30 | ok := errors.As(target, &err) |
| 31 | return ok |
| 32 | } |
| 33 | |
| 34 | // ListResponseMetadata groups fields common for all API List calls, |
| 35 | // and maps to the Metadata API JSON object. |
no outgoing calls