Class ErrorInfo
An error reported by an audio node, in load results and track exception events.
public sealed record ErrorInfo : IEquatable<ErrorInfo>
- Inheritance
-
ErrorInfo
- Implements
- Inherited Members
Properties
Cause
The cause of the error.
[JsonPropertyName("cause")]
[JsonInclude]
public string? Cause { get; }
Property Value
CauseStackTrace
Lavalink only.
[JsonPropertyName("causeStackTrace")]
[JsonInclude]
public string? CauseStackTrace { get; }
Property Value
Message
The message of the error.
[JsonPropertyName("message")]
[JsonInclude]
public string? Message { get; }
Property Value
Severity
May be omitted by NodeLink.
[JsonPropertyName("severity")]
[JsonInclude]
public ErrorSeverity? Severity { get; }
Property Value
Methods
ToString()
Returns the error as severity and message, or the cause when there is no message.
public override string ToString()
Returns
- string
The formatted error, from whatever parts it has.