[Console][Command][LogicException] The command name cannot be empty. #11991

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #11991
| License       | MIT
| Doc PR        | #11991 
Great idea!

What about `The command defined in "%s" cannot have an empty name.`?