We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c87227 commit a1e8708Copy full SHA for a1e8708
2 files changed
README.md
@@ -51,7 +51,7 @@ const cliMain = function () {
51
try {
52
// ...
53
} catch (error) {
54
- // Ensure `error` is an `Error` instance
+ // Ensure `error` is a `BaseError` instance
55
const normalizedError = BaseError.normalize(error)
56
// Logs `error` then exits the process
57
normalizedError.exit()
types/main.d.ts
@@ -26,7 +26,7 @@ declare const plugin: {
26
* try {
27
* // ...
28
* } catch (error) {
29
- * // Ensure `error` is an `Error` instance
+ * // Ensure `error` is a `BaseError` instance
30
* const normalizedError = BaseError.normalize(error)
31
* // Logs `error` then exits the process
32
* normalizedError.exit()
0 commit comments