Skip to content

Commit a1e8708

Browse files
committed
Update README
1 parent 1c87227 commit a1e8708

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const cliMain = function () {
5151
try {
5252
// ...
5353
} catch (error) {
54-
// Ensure `error` is an `Error` instance
54+
// Ensure `error` is a `BaseError` instance
5555
const normalizedError = BaseError.normalize(error)
5656
// Logs `error` then exits the process
5757
normalizedError.exit()

types/main.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare const plugin: {
2626
* try {
2727
* // ...
2828
* } catch (error) {
29-
* // Ensure `error` is an `Error` instance
29+
* // Ensure `error` is a `BaseError` instance
3030
* const normalizedError = BaseError.normalize(error)
3131
* // Logs `error` then exits the process
3232
* normalizedError.exit()

0 commit comments

Comments
 (0)