Skip to content

Commit

Permalink
fix 401 exception rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Mar 24, 2015
1 parent 33bc9be commit ff8abcf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion en/development/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ exceptions for HTTP methods
Used for doing 400 Bad Request error.

.. php:exception::UnauthorizedException
.. php:exception:: UnauthorizedException
Used for doing a 401 Unauthorized error.

Expand Down
4 changes: 2 additions & 2 deletions fr/development/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ internes du framework, il y a plusieurs exceptions pour les méthodes HTTP.
Utilisé pour faire une erreur 400 de Mauvaise Requête.

.. php:exception::UnauthorizedException
.. php:exception:: UnauthorizedException
Utilisé pour faire une erreur 401 Non Trouvé.
Utilisé pour faire une erreur 401 Non Autorisé.

.. php:exception:: ForbiddenException
Expand Down

0 comments on commit ff8abcf

Please sign in to comment.