Notes/src/errors/validation_error.ts

10 lines
154 B
TypeScript
Raw Normal View History

class ValidationError {
2024-02-16 22:50:49 +02:00
message: string;
constructor(message: string) {
this.message = message;
}
}
2024-12-22 15:45:54 +02:00
export default ValidationError;