You are here

constant RequestOptions::HTTP_ERRORS in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/RequestOptions.php \GuzzleHttp\RequestOptions::HTTP_ERRORS

http_errors: (bool, default=true) Set to false to disable exceptions when a non- successful HTTP response is received. By default, exceptions will be thrown for 4xx and 5xx responses. This option only works if your handler has the `httpErrors` middleware.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 133

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

const HTTP_ERRORS = 'http_errors';