Skip to content

Commit

Permalink
changed validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri-Levy committed Jun 3, 2024
1 parent 080d409 commit 63abef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exceptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class AjvValidationException<TRequestSchema extends TSchema, TResponseSch

super({
statusCode: HttpStatus.BAD_REQUEST,
message: `Validation failed (${type})`,
message: `Validation error (${type})`,
errors: topLevelErrors,
});
}
Expand Down

0 comments on commit 63abef6

Please sign in to comment.