Ionite
1 year ago
5 changed files with 91 additions and 8 deletions
@ -0,0 +1,24 @@
|
||||
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; |
||||
} |
||||
} |
Loading…
Reference in new issue