We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69be273 commit 066fcd5Copy full SHA for 066fcd5
components/filesystem.rst
@@ -28,7 +28,7 @@ endpoint for filesystem operations::
28
try {
29
$fs->mkdir('/tmp/random/dir/' . mt_rand());
30
} catch (IOException $e) {
31
- echo "An error occurred while creating your directory";
+ echo "An error occurred while creating your directory at ".$e.getPath();
32
}
33
34
.. note::
@@ -251,7 +251,7 @@ Error Handling
251
--------------
252
253
Whenever something wrong happens, an exception implementing
254
-:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` is
+:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` and :class:`Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface` is
255
thrown.
256
257
0 commit comments