| 134 | * @returns {number} The GRPC error code, or `false`. |
| 135 | */ |
| 136 | export const grpcStatusCode = error => isBackend(error) && (error.code || error.grpc_code) |
| 137 | |
| 138 | /** |
| 139 | * Tests whether the grpc error represents the not found erorr. |
no test coverage detected