Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
subscribe(appWillStart$, () => {
// Translate some error messages
errorManager.setMessage({
code: EINVALIDCREDENTIALS,
context: SHOPGATE_USER_LOGIN_USER,
message: 'login.error',
});
});
}
subscribe(appWillStart$, () => {
// Translate some error messages
errorManager.setMessage({
code: EINVALIDCREDENTIALS,
context: SHOPGATE_USER_LOGIN_USER,
message: 'login.error',
});
});
}
subscribe(appWillStart$, () => {
errorManager.setMessage({
code: EUNKNOWN,
message: transformGeneralPipelineError,
}).setMessage({
code: EBIGAPI,
message: transformGeneralPipelineError,
}).setMessage({
code: ETIMEOUT,
message: 'modal.body_error',
}).setMessage({
code: ENETUNREACH,
message: 'modal.body_error',
});
});