1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 10:44:20 +02:00

[ticket/13361] Improve the exception listener

PHPBB3-13361
This commit is contained in:
Tristan Darricau
2014-11-22 23:10:19 +01:00
parent 8b71103836
commit b00d02496e
5 changed files with 168 additions and 4 deletions

View File

@@ -184,6 +184,8 @@ class helper
* @param string $message The error message
* @param int $code The error code (e.g. 404, 500, 503, etc.)
* @return Response A Response instance
*
* @deprecated 3.1.3 (To be removed: 3.3.0) Use exceptions instead.
*/
public function error($message, $code = 500)
{