PHP Exceptions\Http\Client Namespace

Classes

Name Description
BadRequestException The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
ClientErrorException This is a tag like class that is used to regroup all Http/Client exceptions under a single base class.
ConflictException The request could not be completed due to a conflict with the current state of the resource.
ForbiddenException The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.
MethodNotAllowedException The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
NotAcceptableException The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.
NotFoundException The server has not found anything matching the Request-URI.
RequestEntityTooLargeException The server is refusing to process a request because the request entity is larger than the server is willing or able to process.
RequestedRangeNotSatisfiableException Server cannot return a response because the range-specifier values do not overlap the current extent of the selected resource, and the request did not include an If-Range request-header field.
UnauthorizedException The request requires user authentication.
UnprocessableEntityException The request was well-formed but was unable to be followed due to semantic errors, validation errors or domain constraints such as uniqueness of values.
UnsupportedMediaTypeException The request was well-formed but was unable to be followed due to semantic errors, validation errors or domain constraints such as uniqueness of values.