ProtocolError
Machine-readable error descriptor.
- Kind:
Class - Namespace: Repl.Protocol
- Assembly:
Repl.Protocol - Source: src/Repl.Protocol/ProtocolError.cs
Signature
Section titled “Signature”public sealed record ProtocolError : IEquatable<ProtocolError>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<ProtocolError>
Constructors
Section titled “Constructors”ProtocolError(string, string)
Section titled “ProtocolError(string, string)”Machine-readable error descriptor.
public ProtocolError(string Code, string Message)Parameters
Section titled “Parameters”Properties
Section titled “Properties”Error code.
public string Code { get; init; }Returns
Section titled “Returns”Message
Section titled “Message”Error message.
public string Message { get; init; }