Table of Contents

Class ErrorMessage

Namespace
RustPlusApi.Data
Assembly
RustPlusApi.dll

Error detail attached to a failed Response<T>.

public sealed record ErrorMessage : IEquatable<ErrorMessage>
Inheritance
ErrorMessage
Implements
Inherited Members

Properties

Code

Machine-readable identifier parsed from Message; Unknown when the identifier is not recognized.

public RustPlusErrorCode Code { get; init; }

Property Value

RustPlusErrorCode

Message

Human-readable description of the error returned by the server.

public string? Message { get; init; }

Property Value

string