fix: improve error semantics, clarify answer key type

This commit is contained in:
lila 2026-04-28 16:07:19 +02:00
parent 6eaf282651
commit 648c5d2979
6 changed files with 62 additions and 34 deletions

View file

@ -25,3 +25,9 @@ export class ConflictError extends AppError {
super(message, 409);
}
}
export class UnprocessableEntityError extends AppError {
constructor(message: string) {
super(message, 422);
}
}