mise API - v0.0.0
    Preparing search index...

    Function fileRefusal_name

    • Reads the kernel's notes since a checkpoint and names the refusal: a status for the route and a line for the operator. CUBE's own status is taken from the note when it carries one; a file the lookup could not find is 404; anything else is the kernel's own failure, 502, so a 404 never again stands for "something went wrong".

      Parameters

      • filePath: string

        The file asked for.

      • notes: readonly string[]

        The kernel's error notes since the read began, oldest first.

      Returns FileReadRefusal

      The refusal to throw.