@@ -20,7 +20,6 @@ export const getBackendOutputWithErrorHandling = async (
2020 error instanceof BackendOutputClientError &&
2121 error . code === BackendOutputClientErrorType . DEPLOYMENT_IN_PROGRESS
2222 ) {
23- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
2423 throw new AmplifyUserError (
2524 'DeploymentInProgressError' ,
2625 {
@@ -34,7 +33,6 @@ export const getBackendOutputWithErrorHandling = async (
3433 error instanceof BackendOutputClientError &&
3534 error . code === BackendOutputClientErrorType . NO_STACK_FOUND
3635 ) {
37- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
3836 throw new AmplifyUserError (
3937 'StackDoesNotExistError' ,
4038 {
@@ -49,7 +47,6 @@ export const getBackendOutputWithErrorHandling = async (
4947 error instanceof BackendOutputClientError &&
5048 error . code === BackendOutputClientErrorType . CREDENTIALS_ERROR
5149 ) {
52- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
5350 throw new AmplifyUserError (
5451 'CredentialsError' ,
5552 {
@@ -64,7 +61,6 @@ export const getBackendOutputWithErrorHandling = async (
6461 error instanceof BackendOutputClientError &&
6562 error . code === BackendOutputClientErrorType . ACCESS_DENIED
6663 ) {
67- // eslint-disable-next-line amplify-backend-rules/no-amplify-errors
6864 throw new AmplifyUserError (
6965 'AccessDeniedError' ,
7066 {
0 commit comments