FlowGuard API - v1.2.0-tp.1
    Preparing search index...

    Class BlockedReasonRegistry

    Blocked reason registry.

    Central catalog of all known blocked/error codes. Pre-seeded with built-in codes and frozen after initialization.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Prevent further registration after the registry has been initialized.

      Returns void

    • Format a blocked reason with variable interpolation.

      Returns a structured result ready for RailBlocked construction. Unknown codes are marked explicitly so they cannot be confused with catalog-backed governance messages.

      Parameters

      • code: string
      • Optionalvars: Record<string, string>

      Returns FormattedBlock