<?php

declare(strict_types=1);

namespace Drupal\flowdrop_orchestration\Exception;

/**
 * Base exception for workflow interrupt signals (control flow, not errors).
 *
 * Extends \Exception (not FlowDropException/\RuntimeException) so that
 * catch (\RuntimeException) blocks don't accidentally swallow interrupt
 * signals. Interrupts pause execution for external input; they are not
 * failures.
 *
 * All concrete interrupt exceptions should extend this class and
 * implement InterruptExceptionInterface.
 *
 * @see \Drupal\flowdrop_orchestration\Exception\InterruptExceptionInterface
 *
 * @api
 */
abstract class FlowDropInterruptException extends \Exception implements InterruptExceptionInterface {

}
