Class Exception
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.
- Exception implements Throwable
- RuntimeException
- splitbrain\phpcli\Exception
Namespace: splitbrain\phpcli
License: MIT
Author: Andreas Gohr andi@splitbrain.org
Located at src/Exception.php
License: MIT
Author: Andreas Gohr andi@splitbrain.org
Located at src/Exception.php
public
|
#
__construct( string $message = "", integer $code = 0,
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
integer |
E_ANY
|
#
-1
|
integer |
E_UNKNOWN_OPT
|
#
1
|
integer |
E_OPT_ARG_REQUIRED
|
#
2
|
integer |
E_OPT_ARG_DENIED
|
#
3
|
integer |
E_OPT_ABIGUOUS
|
#
4
|
integer |
E_ARG_READ
|
#
5
|
$code,
$file,
$line,
$message
|