Copied!

Represents an incorrect command name typed in the console.

Instantiable
Methods
public __construct(string $message, array $alternatives = [], int $code = 0, ?Throwable $previous = NULL)
 
  • param string $message Exception message to throw
  • param string[] $alternatives List of similar defined names
  • param int $code Exception code
  • param \Throwable|null $previous Previous exception used for the exception chaining
public Exception::__toString() : string
public Exception::__wakeup()
public getAlternatives() : array
 
  • return string[]
public final Exception::getCode()
public final Exception::getFile() : string
public final Exception::getLine() : int
public final Exception::getMessage() : string
public final Exception::getPrevious() : ?Throwable
public final Exception::getTrace() : array
public final Exception::getTraceAsString() : string
Properties
protected Exception::$code = 0
protected string Exception::$file = ''
protected int Exception::$line = 0
protected Exception::$message = ''
Properties
private array $alternatives
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration