Class LiteRTLMErrorReporter
- Namespace
- Uralstech.UAI.LiteRTLM
Thread-local error reporting utilities for LiteRT LM operations.
public static class LiteRTLMErrorReporter
- Inheritance
-
objectLiteRTLMErrorReporter
Methods
ClearLastError()
Clears the last error recorded on the calling thread.
public static void ClearLastError()
GetLastErrorCode()
Returns the last error code recorded on the calling thread.
public static int GetLastErrorCode()
Returns
- int
0 (Ok) if no error occurred.
GetLastErrorMessage()
Returns the last error message recorded on the calling thread.
public static string? GetLastErrorMessage()
Returns
- string
The error description, or null if no error has occurred on the calling thread or if the error state has been cleared.