/** * 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'; } }