AmbiguousCommandIdentifierException
class AmbiguousCommandIdentifierException extends CommandException (View source)
An "Ambiguous command identifier" exception
Properties
protected string | $referenceCode | from Exception | |
protected int | $statusCode | from Exception | |
protected Command[] | $matchingCommands |
Methods
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
Returns the HTTP status code this exception corresponds to (defaults to 500).
Overwrites parent constructor to be able to inject matching commands.
No description
Details
string
getReferenceCode()
Returns a code which can be communicated publicly so that whoever experiences the exception can refer to it and a developer can find more information about it in the system log.
int
getStatusCode()
Returns the HTTP status code this exception corresponds to (defaults to 500).
__construct(string $message = '', int $code = 0, Exception $previousException = null, array $matchingCommands)
Overwrites parent constructor to be able to inject matching commands.
Command[]
getMatchingCommands()
No description