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

    Variable StatusConst

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

    The result of a call or of asynchronous work.

    See mln_status in the C API reference.

    Type Declaration

    • ReadonlyalreadyExists: -11

      Something already has the given ID.

    • Readonlybusy: -7

      Another call is still using the same object.

    • Readonlycancelled: -6

      The work stopped before it finished, such as when its handle was released.

    • ReadonlyinvalidArgument: -1

      An argument is invalid, such as malformed JSON or a value out of range.

    • ReadonlyinvalidState: -2

      The call doesn't fit the current state, such as removing a source that a layer still uses.

    • ReadonlynativeError: -5

      The library or the platform hit an error, such as a failed graphics driver call.

    • ReadonlynotFound: -10

      Nothing has the given ID.

    • Readonlyok: 0
    • ReadonlytargetLost: -8

      The render target can't be drawn to anymore.

    • Readonlyunsupported: -4

      The platform, the build, or the render target lacks the feature.

    • ReadonlywrongThread: -3

      The call came from a thread that can't make it.