| 171 | * `false` otherwise. |
| 172 | */ |
| 173 | export const isBadRequestError = error => |
| 174 | grpcStatusCode(error) === 9 || httpStatusCode(error) === 400 |
| 175 | |
| 176 | /** |
| 177 | * Returns whether the grpc error represents an already exists error. |
no test coverage detected