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 089ffbc commit 2907328Copy full SHA for 2907328
bin/typedoc
@@ -9,6 +9,7 @@ const ExitCodes = {
9
NoEntryPoints: 2,
10
CompileError: 3,
11
OutputError: 4,
12
+ ExceptionThrown: 5,
13
};
14
15
const td = require("..");
@@ -24,11 +25,12 @@ app.options.addReader(new td.ArgumentsReader(300));
24
25
app.bootstrap();
26
27
run(app)
- .then(process.exit)
28
.catch((error) => {
29
console.error("TypeDoc exiting with unexpected error:");
30
console.error(error);
31
- });
+ return ExitCodes.ExceptionThrown;
32
+ })
33
+ .then(process.exit);
34
35
/** @param {td.Application} app */
36
async function run(app) {
0 commit comments