Skip to content

[WCM] Added docs for the changes proposed in symfony/symfony#8908 #2947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 2, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ endpoint for filesystem operations::
try {
$fs->mkdir('/tmp/random/dir/' . mt_rand());
} catch (IOException $e) {
echo "An error occurred while creating your directory";
echo "An error occurred while creating your directory at ".$e->getPath();
}

.. note::
Expand Down Expand Up @@ -251,8 +251,8 @@ Error Handling
--------------

Whenever something wrong happens, an exception implementing
:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` is
thrown.
:class:`Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface` and
:class:`Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface` is thrown.

.. note::

Expand Down