failure

fun failure(message: Text): CommandResult.Failure

Creates a CommandResult.Failure with the given error message.

Author

Cypher121