<?php
/**
 * Exception thrown when credential decryption fails.
 *
 * @since   1.0.0
 * @package DonationRouter
 */

declare( strict_types=1 );
namespace DonationRouter;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Raised by the Encryption trait when a payload cannot be decrypted or its
 * authentication tag cannot be verified.
 *
 * Exception messages MUST NOT contain plaintext credentials or key material.
 *
 * @since 1.0.0
 */
class Credential_Decryption_Exception extends \RuntimeException {}
