<?php

declare(strict_types=1);

namespace Drupal\flowdrop_runtime\Constants;

/**
 * Constants for error category classification.
 *
 * Used by the ErrorHandler to categorize and route exceptions
 * to appropriate recovery strategies.
 *
 * @internal
 *   This class is not part of the public API and may change without notice.
 */
final class ErrorCategory {

  public const DATA_FLOW = 'data_flow';
  public const COMPILATION = 'compilation';
  public const ORCHESTRATION = 'orchestration';
  public const RUNTIME = 'runtime';
  public const VALIDATION = 'validation';
  public const TIMEOUT = 'timeout';
  public const RESOURCE = 'resource';
  public const UNKNOWN = 'unknown';

}
