node-ctypes - v2.17.1
    Preparing search index...

    Function FormatError

    • Format a Windows error code into a human-readable message (Windows only).

      Python equivalent: ctypes.FormatError()

      Parameters

      • Optionalcode: number | bigint | boolean

        Error code, a C long (Number, BigInt or boolean, as a Python int); 0 or omitted formats GetLastError()

      Returns string