add bailout info

This commit is contained in:
Katie Kroell 2024-01-23 16:45:36 -05:00
parent 73f42613ce
commit ade55f6e3d
2 changed files with 6 additions and 1 deletions

View file

@ -6,7 +6,8 @@ const bailoutCode = Object.freeze({
CoverageStatementInvalidState: 4,
DoNotSeeMyShop: 5,
PricingResponseError: 6,
TPANotEnabled: 7
TPANotEnabled: 7,
RequestCallback: 8
});
export default bailoutCode;

View file

@ -44,6 +44,10 @@ const bailoutMessage = Object.freeze({
TPANotEnabled: () => ({
code: bailoutCode.TPANotEnabled,
message: 'User selected TPA when TPA is not enabled for this client'
}),
RequestCallback: () => ({
code: bailoutCode.RequestCallback,
message: 'User selected option to receive callback from Safelite'
})
});