diff --git a/src/Rules/Turnstile.php b/src/Rules/Turnstile.php index f12235e..73eda46 100644 --- a/src/Rules/Turnstile.php +++ b/src/Rules/Turnstile.php @@ -44,6 +44,7 @@ protected function mapErrorCodeToMessage(string $code): string 'bad-request' => 'The request was rejected because it was malformed.', 'timeout-or-duplicate' => 'The response parameter has already been validated before.', 'internal-error' => 'An internal error happened while validating the response.', + default => 'An unexpected error occurred.', }; } }