<?php

namespace App\Exceptions;

use RuntimeException;

class InvalidWebhookSignature extends RuntimeException
{
    public function __construct(string $providerKey, string $reason = 'signature mismatch')
    {
        parent::__construct("Webhook signature invalid for provider [{$providerKey}]: {$reason}");
    }
}
