Creates an exception for the code {@link NAME_EXISTS}.
public static nameExists ( string $name, Exception $cause = null ) : static | ||
$name | string | The command name. |
$cause | Exception | The exception that caused this exception. |
return | static | The created exception. |