From 824caaf41b0cc606eb7f4b50e26a824970b0ac85 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 26 Jul 2016 08:57:06 +0200 Subject: [PATCH] adjust phpdoc of error plugin there is no configuration for status codes in error plugin --- src/Plugin/ErrorPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/ErrorPlugin.php b/src/Plugin/ErrorPlugin.php index b632327..f09d3b1 100644 --- a/src/Plugin/ErrorPlugin.php +++ b/src/Plugin/ErrorPlugin.php @@ -11,7 +11,7 @@ /** * Throw exception when the response of a request is not acceptable. * - * By default an exception will be thrown for all status codes from 400 to 599. + * Status codes 400-499 lead to a ClientErrorException, status 500-599 to a ServerErrorException. * * @author Joel Wurtz */