add bailout info
This commit is contained in:
parent
73f42613ce
commit
ade55f6e3d
2 changed files with 6 additions and 1 deletions
|
|
@ -6,7 +6,8 @@ const bailoutCode = Object.freeze({
|
|||
CoverageStatementInvalidState: 4,
|
||||
DoNotSeeMyShop: 5,
|
||||
PricingResponseError: 6,
|
||||
TPANotEnabled: 7
|
||||
TPANotEnabled: 7,
|
||||
RequestCallback: 8
|
||||
});
|
||||
|
||||
export default bailoutCode;
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue