Files
gridpilot.gg/core/shared/errors/ValidationError.ts
Marc Mintel 597bb48248
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 4m51s
Contract Testing / contract-snapshot (pull_request) Has been skipped
integration tests
2026-01-22 17:29:06 +01:00

17 lines
307 B
TypeScript

/**
* Validation Error
*
* Thrown when input validation fails.
*/
export class ValidationError extends Error {
readonly type = 'domain';
readonly context = 'validation';
readonly kind = 'validation';
constructor(message: string) {
super(message);
this.name = 'ValidationError';
}
}