File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export enum IntegrationErrorType {
7
7
INTEGRATION_ERROR_UNAVAILABLE = "integration/error/unavailable" ,
8
8
9
9
ENTITY_ERROR_CONFLICT = "entity/error/conflict" ,
10
+ ENTITY_NOT_FOUND = "entity/not-found" ,
10
11
11
12
CONTACT_CREATE_ERROR_CONFLICT = "contact/create-error/conflict" ,
12
13
CONTACT_CREATE_ERROR_EMAIL_CONFLICT = "contact/create-error/email-conflict" ,
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ export const throwAndDelegateError = (
34
34
case 403 :
35
35
errorType = IntegrationErrorType . INTEGRATION_ERROR_FORBIDDEN ;
36
36
break ;
37
+ case 404 :
38
+ errorType = IntegrationErrorType . ENTITY_NOT_FOUND ;
39
+ break ;
37
40
case 409 :
38
41
errorType = IntegrationErrorType . ENTITY_ERROR_CONFLICT ;
39
42
break ;
You can’t perform that action at this time.
0 commit comments