Skip to content

Commit

Permalink
export the server-side base exception SmithyException from the client…
Browse files Browse the repository at this point in the history
… root
  • Loading branch information
AllanZhengYP committed Feb 14, 2022
1 parent 5dbf11d commit 3495b3c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -82,6 +82,9 @@ static void writeServerIndex(
writer.write("export * from \"./operations\";");

writer.write("export * from \"./$L\"", symbol.getName());

writer.write("export { SmithyException } from $S", TypeScriptDependency.SERVER_COMMON.packageName);

fileManifest.writeFile(
Paths.get(CodegenUtils.SOURCE_FOLDER, ServerSymbolVisitor.SERVER_FOLDER, "index.ts").toString(),
writer.toString());
Expand Down

0 comments on commit 3495b3c

Please sign in to comment.