IOException

class IOException extends RuntimeException implements IOExceptionInterface

Exception class thrown when a filesystem operation failure happens.

Methods

__construct(string $message, int $code, Exception $previous = null, string $path = null)
string getPath()

Returns the associated path for the exception.

Details

__construct(string $message, int $code, Exception $previous = null, string $path = null)

Parameters

string $message
int $code
Exception $previous
string $path

string getPath()

Returns the associated path for the exception.

Return Value

string The path

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Filesystem/Exception/IOException.html