Method | Description | |
---|---|---|
forCommandName ( string $name, integer $code, Exception $cause = null ) : static | Creates an exception for the given command name. |
public static forCommandName ( string $name, integer $code, Exception $cause = null ) : static | ||
$name | string | The command name. |
$code | integer | The exception code. |
$cause | Exception | The exception that caused this exception. |
return | static | The created exception. |