Class NbtException
Namespace: Void.Minecraft.Components.Text.Exceptions
Assembly: Void.Minecraft.dll
Represents an error raised while working with NBT-backed text content.
public class NbtException : Exception, ISerializableInheritance
object ← Exception ← NbtException
Implements
Inherited Members
Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, Exception.SerializeObjectState, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
NbtException(string?)
Represents an error raised while working with NBT-backed text content.
public NbtException(string? message = null)Parameters
message string?
The exception message, or null to use the default
NbtException(NbtTag?)
Creates an exception whose message is the SNBT representation of a tag.
public NbtException(NbtTag? tag = null)Parameters
tag NbtTag?
The offending tag, or null for the default exception message.