Skip to content

Class SimpleCommandExceptionType

Namespace: Void.Minecraft.Commands.Brigadier.Exceptions
Assembly: Void.Minecraft.dll

public class SimpleCommandExceptionType : ICommandExceptionType

Inheritance

objectSimpleCommandExceptionType

Implements

ICommandExceptionType

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SimpleCommandExceptionType(IMessage)

public SimpleCommandExceptionType(IMessage message)

Parameters

message IMessage

Methods

Create()

public CommandSyntaxException Create()

Returns

CommandSyntaxException

CreateWithContext(IImmutableStringReader)

public CommandSyntaxException CreateWithContext(IImmutableStringReader reader)

Parameters

reader IImmutableStringReader

Returns

CommandSyntaxException

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.