IsGqlErrorList tells whether the given err is a list of GraphQL errors.
(err error)
| 204 | |
| 205 | // IsGqlErrorList tells whether the given err is a list of GraphQL errors. |
| 206 | func IsGqlErrorList(err error) bool { |
| 207 | _, ok := err.(GqlErrorList) |
| 208 | return ok |
| 209 | } |
| 210 | |
| 211 | func (gqlErr *GqlError) Error() string { |
| 212 | var buf bytes.Buffer |
no outgoing calls
no test coverage detected