(error)
| 418 | } |
| 419 | |
| 420 | function isSecretDivergenceError(error) { |
| 421 | return error === SECRET_DIVERGENCE_ERROR || Boolean(matchSecretDivergenceReason(error)); |
| 422 | } |
| 423 | |
| 424 | function safeHubErrorCode(data, statusCode) { |
| 425 | const candidates = [ |
no test coverage detected