PHP » GoLang |
login |
register |
about
|
GoLang Error::getPrevious
request it (380)
GoLang replacement for PHP's Error::getPrevious
[edit | history]
Error::getPrevious(No version information available, might only be in Git) Error::getPrevious — Returns previous Throwable DescriptionReturns previous Throwable (the third parameter of Error::__construct()). ParametersThis function has no parameters. Return Values
Returns the previous Throwable if available
or Examples
Example #1 Error::getPrevious() example Looping over, and printing out, error trace.
<?php The above example will output something similar to: /home/bjori/ex.php:8 Something happened (911) [MyCustomError] /home/bjori/ex.php:6 You are doing it wrong! (112) [InvalidArgumentError] |
more
Recently updated
more
Most requested
more
Last requests
|