(errorCode)
| 91 | }); |
| 92 | |
| 93 | function normalizeErrorCode(errorCode) { |
| 94 | if (errorCode === null || errorCode === undefined) { |
| 95 | return null; |
| 96 | } |
| 97 | |
| 98 | return String(errorCode).trim().toUpperCase(); |
| 99 | } |
| 100 | |
| 101 | export function getErrorMetadata(errorCode) { |
| 102 | const normalized = normalizeErrorCode(errorCode); |
no outgoing calls
no test coverage detected