@@ -20,7 +20,6 @@ export const getBackendOutputWithErrorHandling = async (
20
20
error instanceof BackendOutputClientError &&
21
21
error . code === BackendOutputClientErrorType . DEPLOYMENT_IN_PROGRESS
22
22
) {
23
- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
24
23
throw new AmplifyUserError (
25
24
'DeploymentInProgressError' ,
26
25
{
@@ -34,7 +33,6 @@ export const getBackendOutputWithErrorHandling = async (
34
33
error instanceof BackendOutputClientError &&
35
34
error . code === BackendOutputClientErrorType . NO_STACK_FOUND
36
35
) {
37
- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
38
36
throw new AmplifyUserError (
39
37
'StackDoesNotExistError' ,
40
38
{
@@ -49,7 +47,6 @@ export const getBackendOutputWithErrorHandling = async (
49
47
error instanceof BackendOutputClientError &&
50
48
error . code === BackendOutputClientErrorType . CREDENTIALS_ERROR
51
49
) {
52
- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
53
50
throw new AmplifyUserError (
54
51
'CredentialsError' ,
55
52
{
@@ -64,7 +61,6 @@ export const getBackendOutputWithErrorHandling = async (
64
61
error instanceof BackendOutputClientError &&
65
62
error . code === BackendOutputClientErrorType . ACCESS_DENIED
66
63
) {
67
- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
68
64
throw new AmplifyUserError (
69
65
'AccessDeniedError' ,
70
66
{
0 commit comments