Class
Sealed
public sealed class ReplResult
Namespace: Moka.Docs.Serve
The result of a REPL code execution.
Properties
| Name | Description |
|---|---|
Error |
Error message if compilation or execution failed. Null if successful. |
Output |
The captured console output (stdout). Null or empty if no output. |
Error
string? ReplResult.Error { get; init; }
Error message if compilation or execution failed. Null if successful.
Output
string? ReplResult.Output { get; init; }
The captured console output (stdout). Null or empty if no output.
View Source
/// <summary>
/// The result of a REPL code execution.
/// </summary>
public sealed class ReplResult
{
/// <summary>The captured console output (stdout). Null or empty if no output.</summary>
public string? Output { get; init; }
/// <summary>Error message if compilation or execution failed. Null if successful.</summary>
public string? Error { get; init; }
}