@maplibre/native-ffi
    Preparing search index...

    Variable StatusConst

    Status: {
        busy: -7;
        cancelled: -6;
        invalidArgument: -1;
        invalidState: -2;
        nativeError: -5;
        notFound: -10;
        notReady: -9;
        ok: 0;
        targetLost: -8;
        unsupported: -4;
        wrongThread: -3;
    } = ...

    Status values returned by status-returning functions.

    See mln_status in the C API reference.

    Type Declaration

    • Readonlybusy: -7

      A conflicting driver call or lifecycle transition is in flight.

    • Readonlycancelled: -6

      The operation reached its terminal cancelled disposition.

    • ReadonlyinvalidArgument: -1

      A pointer, size field, mask, or handle argument was invalid.

    • ReadonlyinvalidState: -2

      The object is valid but not currently in a state that permits the call.

    • ReadonlynativeError: -5

      Native code failed; the diagnostic describes the error.

    • ReadonlynotFound: -10

      A call named an ID with no live object behind it.

    • ReadonlynotReady: -9

      A nonblocking drain or acquisition has nothing to return yet.

    • Readonlyok: 0
    • ReadonlytargetLost: -8

      The render target or graphics receiver was irreversibly lost.

    • Readonlyunsupported: -4

      The entry point or requested behavior is unavailable in this build.

    • ReadonlywrongThread: -3

      The handle is thread-affine and the call came from the wrong thread.