FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Interface BlockedReason

    A registered blocked reason with metadata.

    interface BlockedReason {
        code: string;
        category: BlockedCategory;
        messageTemplate: string;
        recoverySteps: readonly string[];
        quickFixCommand?: string;
    }
    Index

    Properties

    code: string

    Unique reason code (e.g., "COMMAND_NOT_ALLOWED").

    category: BlockedCategory

    Category for reporting.

    messageTemplate: string

    Message template with {variable} placeholders. Example: "{command} is not allowed in phase {phase}"

    recoverySteps: readonly string[]

    Ordered recovery steps for the user.

    quickFixCommand?: string

    Optional command that fixes the issue.