platform-bible-utils
    Preparing search index...

    Function getProjectOpenBlockedReasonKey

    • The localize key explaining why the project was refused, when error is paranext-core's C# refusing a request on a project that cannot be opened (the message ends with the (PROJECT_OPEN_BLOCKED) sentinel).

      Parameters

      • error: unknown

        Error, thrown value, or message string to inspect

      Returns undefined | `%${string}%`

      The reason's localize key, PROJECT_OPEN_BLOCKED_FALLBACK_KEY if the refusal names no readable reason, or undefined if error is not such a refusal