BadScript 2
Loading...
Searching...
No Matches
BadInterfaceValidatorError.cs
Go to the documentation of this file.
2
6public readonly struct BadInterfaceValidatorError
7{
13 public BadInterfaceValidatorError(string message, BadInterfaceConstraint constraint)
14 {
15 Message = message;
16 Constraint = constraint;
17 }
18
22 public string Message { get; }
23
28
30 public override string ToString()
31 {
32 return $"-- {Constraint} | {Message}";
33 }
34}
Contains Runtime Interface Objects.
BadInterfaceConstraint Constraint
The Constraint that caused the error.
BadInterfaceValidatorError(string message, BadInterfaceConstraint constraint)
Creates a new Error.