Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 574d7a8 + feb346d commit 81698feCopy full SHA for 81698fe
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,8 +251,8 @@ Error Handling
251
--------------
252
253
Whenever something wrong happens, an exception implementing
254
-:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` is
255
-thrown.
+:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` and
+:class:`Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface` is thrown.
256
257
258
0 commit comments