<?php
/**
 * Exception thrown when a repository write fails at the database layer.
 *
 * @since   1.0.0
 * @package DonationRouter
 */

declare( strict_types=1 );
namespace DonationRouter;

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

/**
 * Raised when an INSERT or UPDATE returns a database-level failure.
 *
 * Lets handlers surface a real error to the operator instead of silently
 * reporting success after a write that never persisted (e.g. a unique-key
 * violation or a transient DB error).
 *
 * @since 1.0.0
 */
class Persistence_Exception extends \RuntimeException {}
