This exception class means that an error occurred with an HTTP request, and the problem had specifically to do with something that happened on the remote server, not just a general connection problem. For example, this class would be suitable for use when you get a 500 (Internal Server Error) or a 404 (Not Found), but it would not be suitable for use if you get a Connection Refused TCP error when trying to connect.

Subclasses X::Tiny::Base.


Unless otherwise indicated, these come directly from HTTP::Tiny::UA::Response:

  • method - The request’s HTTP method.

  • url - The URL for which the request was intended.

  • status

  • reason

  • headers

  • content

  • redirects