LLamaSharp/docs/xmldocs/llama.exceptions.runtimeerr...

2.1 KiB

RuntimeError

Namespace: LLama.Exceptions

Base class for LLamaSharp runtime errors (i.e. errors produced by llama.cpp, converted into exceptions)

public class RuntimeError : System.Exception, System.Runtime.Serialization.ISerializable

Inheritance ObjectExceptionRuntimeError
Implements ISerializable

Properties

TargetSite

public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

public string Message { get; }

Property Value

String

Data

public IDictionary Data { get; }

Property Value

IDictionary

InnerException

public Exception InnerException { get; }

Property Value

Exception

public string HelpLink { get; set; }

Property Value

String

Source

public string Source { get; set; }

Property Value

String

HResult

public int HResult { get; set; }

Property Value

Int32

StackTrace

public string StackTrace { get; }

Property Value

String

Constructors

RuntimeError(String)

Create a new RuntimeError

public RuntimeError(string message)

Parameters

message String