Class MaplibreException
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
statusMaplibreStatusrawStatusint?diagnosticstringinnerExceptionException
Properties
Diagnostic
The diagnostic copied immediately after the failing call.
public string Diagnostic { get; }
Property Value
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; }