[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/vendor/splitbrain/php-cli/src/ -> Exception.php (summary)

(no description)

File Size: 35 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Exception:: (1 method):
  __construct()


Class: Exception  - X-Ref

Class Exception

The code is used as exit code for the CLI tool. This should probably be extended. Many cases just fall back to the
E_ANY code.

__construct($message = "", $code = 0, \Exception $previous = null)   X-Ref

param: string $message The Exception message to throw.
param: int $code The Exception code
param: \Exception $previous The previous exception used for the exception chaining.