exception = $exception; } public function isClientSafe(): bool { return $this->exception instanceof ValidationException; } public function getCategory(): string { return 'validation'; } public static function createFromException(\Throwable $exception): ClientAware { return new self($exception); } }