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 */