We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0276375 commit 22680faCopy full SHA for 22680fa
src/modules/apigw/index.ts
@@ -20,6 +20,7 @@ import ServiceEntity from './entities/service';
20
import ApiEntity from './entities/api';
21
import UsagePlanEntity from './entities/usage-plan';
22
import CustomDomainEntity from './entities/custom-domain';
23
+import { ApiError } from '../../utils/error';
24
25
export default class Apigw {
26
credentials: CapiCredentials;
@@ -234,6 +235,10 @@ export default class Apigw {
234
235
236
return outputs;
237
}
238
+ throw new ApiError({
239
+ type: 'API_APIGW_DescribeService',
240
+ message: `Service ${serviceId} not exist`,
241
+ });
242
243
244
0 commit comments