Table of Contents

Class MaplibreException

Namespace
Maplibre.NativeFfi.Error
Assembly
Maplibre.NativeFfi.dll

Base exception for MapLibre Native binding failures.

public class MaplibreException : Exception, ISerializable
Inheritance
MaplibreException
Implements
Derived
Inherited Members

Constructors

MaplibreException(MaplibreStatus, int?, string, Exception?)

Creates an exception for a native or binding status failure.

public MaplibreException(MaplibreStatus status, int? rawStatus, string diagnostic, Exception? innerException)

Parameters

status MaplibreStatus
rawStatus int?
diagnostic string
innerException Exception

Properties

Diagnostic

The diagnostic copied immediately after the failing call.

public string Diagnostic { get; }

Property Value

string

RawStatus

The raw C status value, when the failure came from a C status.

public int? RawStatus { get; }

Property Value

int?

Status

The stable binding status category.

public MaplibreStatus Status { get; }

Property Value

MaplibreStatus