Skip to content

Commit

Permalink
fix(validator): simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW committed Jan 26, 2024
1 parent 1e2ecd1 commit 53ae4d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/validator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ export class ValidateError extends Error {
) {
super(`Data is ${type}`)
this.name = 'ValidateError'
this.type = type
this.expected = expected
this.actual = actual
}
}

Expand Down

0 comments on commit 53ae4d6

Please sign in to comment.