Exception type for LLM model format errors, wraps an error message and optional inner exception and prefixes messages with "[LLM:ERROR] ".
namespace LlmPoc.Llm;
public sealed class LlmModelFormatException : Exception
{
public LlmModelFormatException( string message )
: base( $"[LLM:ERROR] {message}" )
{
}
public LlmModelFormatException( string message, Exception innerException )
: base( $"[LLM:ERROR] {message}", innerException )
{
}
}