chore(cli): use typed errors ToolkitError
and AuthenticationError
in CLI
#32548
54.16% of diff hit (target 95.00%)
View this Pull Request on Codecov
54.16% of diff hit (target 95.00%)
Annotations
Check warning on line 244 in packages/aws-cdk/lib/api/aws-auth/sdk-provider.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/aws-auth/sdk-provider.ts#L244
Added line #L244 was not covered by tests
Check warning on line 58 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L58
Added line #L58 was not covered by tests
Check warning on line 61 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L61
Added line #L61 was not covered by tests
Check warning on line 92 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L92
Added line #L92 was not covered by tests
Check warning on line 230 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L230
Added line #L230 was not covered by tests
Check warning on line 312 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L312
Added line #L312 was not covered by tests
Check warning on line 323 in packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/bootstrap/bootstrap-environment.ts#L323
Added line #L323 was not covered by tests
Check warning on line 133 in packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts#L133
Added line #L133 was not covered by tests
Check warning on line 169 in packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts#L169
Added line #L169 was not covered by tests
Check warning on line 225 in packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts#L225
Added line #L225 was not covered by tests
Check warning on line 278 in packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/cloud-assembly.ts#L278
Added line #L278 was not covered by tests
Check warning on line 218 in packages/aws-cdk/lib/api/cxapp/cloud-executable.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/cloud-executable.ts#L218
Added line #L218 was not covered by tests
Check warning on line 25 in packages/aws-cdk/lib/api/cxapp/environments.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/environments.ts#L25
Added line #L25 was not covered by tests
Check warning on line 40 in packages/aws-cdk/lib/api/cxapp/environments.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/environments.ts#L40
Added line #L40 was not covered by tests
Check warning on line 51 in packages/aws-cdk/lib/api/cxapp/exec.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/exec.ts#L51
Added line #L51 was not covered by tests
Check warning on line 54 in packages/aws-cdk/lib/api/cxapp/exec.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/exec.ts#L54
Added line #L54 was not covered by tests
Check warning on line 59 in packages/aws-cdk/lib/api/cxapp/exec.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/cxapp/exec.ts#L59
Added line #L59 was not covered by tests
Check warning on line 95 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L95
Added line #L95 was not covered by tests
Check warning on line 102 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L102
Added line #L102 was not covered by tests
Check warning on line 229 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L229
Added line #L229 was not covered by tests
Check warning on line 302 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L302
Added line #L302 was not covered by tests
Check warning on line 378 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L378
Added line #L378 was not covered by tests
Check warning on line 731 in packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/garbage-collector.ts#L731
Added line #L731 was not covered by tests
Check warning on line 107 in packages/aws-cdk/lib/api/garbage-collection/stack-refresh.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/garbage-collection/stack-refresh.ts#L107
Added line #L107 was not covered by tests
Check warning on line 125 in packages/aws-cdk/lib/api/hotswap/common.ts
codecov / codecov/patch
packages/aws-cdk/lib/api/hotswap/common.ts#L125
Added line #L125 was not covered by tests