| 161 | * `false` otherwise. |
| 162 | */ |
| 163 | export const isInvalidArgumentError = error => |
| 164 | grpcStatusCode(error) === 3 || httpStatusCode(error) === 400 |
| 165 | |
| 166 | /** |
| 167 | * Returns whether the grpc error represents a bad request error. |
nothing calls this directly
no test coverage detected