@minecraft/server
    Preparing search index...

    Enumeration CustomCommandErrorReasonBeta

    Reason why custom command registration failed.

    Index

    Enumeration Members

    AlreadyRegistered: "AlreadyRegistered"

    Command name already registered.

    EnumDependencyMissing: "EnumDependencyMissing"

    Custom Command references an enum that has not been registered.

    NamespaceMismatch: "NamespaceMismatch"

    Supplied Custom Command namespace does not match previous registrations for this add-on.

    ParameterLimit: "ParameterLimit"

    Too many command parameters defined in CustomCommand.

    RegistryInvalid: "RegistryInvalid"

    Custom command registry can not be accessed after world initialized event.

    RegistryReadOnly: "RegistryReadOnly"

    Command parameters cannot be redefined during reload. Only the script closure itself can be changed.