Skip to content

Commit

Permalink
Comment nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Dec 2, 2024
1 parent 725f357 commit 8c49b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clide-js/src/core/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class ClideError extends Error {

// Doing this in constructor prevents the need to add custom properties to
// the prototype, which would be displayed in the stack trace. The getter
// ensures the message and name are up-to-date when accessed (e.g., after
// ensures the name and message are up-to-date when accessed (e.g., after
// subclassing and changing the name).
Object.defineProperty(this, 'stack', {
get(): string {
Expand Down

0 comments on commit 8c49b42

Please sign in to comment.