validateResponse($value); if (!$response['success']) { $fail($response['message'] ?? 'Unknown error occurred, please try again'); } } }