Exception
interface Exception (View source)
The http extension's Exception interface.
Use it to catch any Exception thrown by pecl/http.
The individual exception classes extend their equally named native PHP extensions, if such exist, and implement this empty interface. For example the http\Exception\BadMethodCallException extends SPL's BadMethodCallException.