CompilationErrorException class
Exception thrown when C# script compilation fails. Contains detailed diagnostic information about compilation errors.
public class CompilationErrorException : Exception
Public Members
| name | description |
|---|---|
| CompilationErrorException(…) | Initializes a new instance of the CompilationErrorException class with a specified error message and diagnostics. (2 constructors) |
| Diagnostics { get; } | Gets the collection of diagnostics produced during compilation. |
| GetDetailedErrorMessage() | Gets a formatted string containing all error details. |
| GetErrors() | Gets only the error diagnostics (excluding warnings). |
| GetWarnings() | Gets only the warning diagnostics. |
See Also
- namespace Kestrun.Scripting