Method

MaplibreNativeFfiRenderSessionget_failure

Declaration [src]

char*
maplibre_native_ffi_render_session_get_failure (
  MaplibreNativeFfiRenderSession* self
  GError** error
)

Description [src]

Reads the message of the error that made the session fail.

MaplibreNativeFfiRenderSessionSnapshot.failure_status reports the error’s status. The message is empty while the session hasn’t failed, and doesn’t change once it fails.

See mln_render_session_get_failure in the C API reference.

Return value

Type: char*

The text.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.