You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
579 B
25 lines
579 B
1 year ago
|
using StabilityMatrix.Core.Models.Tokens;
|
||
|
|
||
|
namespace StabilityMatrix.Core.Exceptions;
|
||
|
|
||
|
public class PromptUnknownModelError : PromptValidationError
|
||
|
{
|
||
|
public string ModelName { get; }
|
||
|
|
||
|
public PromptExtraNetworkType ModelType { get; }
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
public PromptUnknownModelError(
|
||
|
string message,
|
||
|
int textOffset,
|
||
|
int textEndOffset,
|
||
|
string modelName,
|
||
|
PromptExtraNetworkType modelType
|
||
|
)
|
||
|
: base(message, textOffset, textEndOffset)
|
||
|
{
|
||
|
ModelName = modelName;
|
||
|
ModelType = modelType;
|
||
|
}
|
||
|
}
|