Table of Contents

Class MaplibreException

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A native status and the diagnostic that native copied for it. A failed or cancelled command faults its task with this exception.

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

Constructors

MaplibreException(Status, string)

public MaplibreException(Status status, string diagnostic)

Parameters

status Status
diagnostic string

MaplibreException(Status, string, Exception?)

public MaplibreException(Status status, string diagnostic, Exception? innerException)

Parameters

status Status
diagnostic string
innerException Exception

Properties

Diagnostic

public string Diagnostic { get; }

Property Value

string

Generation

The map snapshot generation that a failed or cancelled map command published, and zero for any other failure.

public ulong Generation { get; init; }

Property Value

ulong

Status

public Status Status { get; }

Property Value

Status