Enumeration

MaplibreNativeFfiError

Declaration

error-domain MaplibreNativeFfi.Error

Description [src]

The result of a call or of asynchronous work.

See mln_status in the C API reference.

Members

MAPLIBRE_NATIVE_FFI_ERROR_INVALID_ARGUMENT

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

  • Value: -1
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_INVALID_STATE

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

  • Value: -2
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_WRONG_THREAD

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

  • Value: -3
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_UNSUPPORTED

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

  • Value: -4
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_NATIVE_ERROR

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

  • Value: -5
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_CANCELLED

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

  • Value: -6
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_BUSY

Another call is still using the same object.

  • Value: -7
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_TARGET_LOST

The render target can’t be drawn to anymore.

  • Value: -8
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_NOT_FOUND

Nothing has the given ID.

  • Value: -10
  • Available since: 0
MAPLIBRE_NATIVE_FFI_ERROR_ALREADY_EXISTS

Something already has the given ID.

  • Value: -11
  • Available since: 0

Type functions

maplibre_native_ffi_error_quark
No description available.