Skip to content

RuntimeError

Namespace: LLama.Exceptions

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

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

Inheritance ObjectExceptionRuntimeError
Implements ISerializable

Properties

TargetSite

1
public MethodBase TargetSite { get; }

Property Value

MethodBase

Message

1
public string Message { get; }

Property Value

String

Data

1
public IDictionary Data { get; }

Property Value

IDictionary

InnerException

1
public Exception InnerException { get; }

Property Value

Exception

1
public string HelpLink { get; set; }

Property Value

String

Source

1
public string Source { get; set; }

Property Value

String

HResult

1
public int HResult { get; set; }

Property Value

Int32

StackTrace

1
public string StackTrace { get; }

Property Value

String

Constructors

RuntimeError(String)

Create a new RuntimeError

1
public RuntimeError(string message)

Parameters

message String