Skip to content

Commit 066fcd5

Browse files
Added docs for the changes proposed in symfony/symfony#8908
1 parent 69be273 commit 066fcd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/filesystem.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ endpoint for filesystem operations::
2828
try {
2929
$fs->mkdir('/tmp/random/dir/' . mt_rand());
3030
} catch (IOException $e) {
31-
echo "An error occurred while creating your directory";
31+
echo "An error occurred while creating your directory at ".$e.getPath();
3232
}
3333

3434
.. note::
@@ -251,7 +251,7 @@ Error Handling
251251
--------------
252252

253253
Whenever something wrong happens, an exception implementing
254-
:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` is
254+
:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` and :class:`Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface` is
255255
thrown.
256256

257257
.. note::

0 commit comments

Comments
 (0)