failed
Creates a CommandResponse representing a failure.
Return
A CommandResponse with the succeeded
flag set to false
and the provided error message.
Parameters
message
The error message explaining why the command failed.
Creates a CommandResponse representing a failure.
A CommandResponse with the succeeded
flag set to false
and the provided error message.
The error message explaining why the command failed.