Class CannotResolveCommandException
Thrown when a command cannot be resolved.
- Exception
- RuntimeException
- Webmozart\Console\Api\Resolver\CannotResolveCommandException
Namespace: Webmozart\Console\Api\Resolver
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at Api/Resolver/CannotResolveCommandException.php
Author: Bernhard Schussek bschussek@gmail.com
Since: 1.0
Located at Api/Resolver/CannotResolveCommandException.php
public static
static
|
#
nameNotFound( string $commandName,
Creates an exception for the code |
public static
static
|
#
noDefaultCommand( Exception $cause = null )
Creates an exception for the code |
__construct(),
__toString(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
integer |
NAME_NOT_FOUND
Code: The passed command name was not found. |
#
1
|
integer |
NO_DEFAULT_COMMAND
Code: No command was passed and no default was configured. |
#
2
|
$code,
$file,
$line,
$message
|