Files
shadowdaoandClaude Sonnet 5.5 589e84f28b Add PayPal client, donate flow, webhook; wire rules engine with per-goal lock
Replace the static Engine call (which silently failed) with Engine::default()
and a MySQL named lock. Add engine->overlay integration test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 08:47:00 -08:00

13 lines
367 B
PHP

<?php
declare( strict_types=1 );
namespace StreamGoals\PayPal;
/** An error talking to PayPal. getMessage() is safe to show to an admin. */
final class PayPalException extends \RuntimeException {
public function __construct( string $message, public readonly int $httpStatus = 0, public readonly string $paypalName = '' ) {
parent::__construct( $message );
}
}