StreamException::getErrorsReturns the errors of the failed stream operation Description
public array StreamException::getErrors()
Returns all errors reported by the stream operation that threw the exception, both terminating and non-terminating. ParametersThis function has no parameters. Return ValuesReturns a list of StreamError objects in the order in which the errors were reported. ExamplesExample #1 StreamException::getErrors example The above example will output: Failed to open stream: No such file or directory plainfile: OpenFailed See Also
|