W3cubDocs

/Symfony 4.1

IOException

class IOException extends RuntimeException implements IOExceptionInterface

Exception class thrown when a filesystem operation failure happens.

Methods

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

Returns the associated path for the exception.

Details

__construct(string $message, int $code = 0, 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.
https://api.symfony.com/4.1/Symfony/Component/Filesystem/Exception/IOException.html