Class HTTP_Request2_LogicException

extends HTTP_Request2_Exception

Exception that represents error in the program logic

This exception usually implies a programmer's error, like passing invalid data to methods or trying to use PHP extensions that weren't installed or enabled. Usually exceptions of this kind will be thrown before request even starts.

The exception will usually contain a package error code.

Methods inherited from HTTP_Request2_Exception
__construct(), getNativeCode()
Constants inherited from HTTP_Request2_Exception
INVALID_ARGUMENT, MISSING_VALUE, MISCONFIGURATION, READ_ERROR, MALFORMED_RESPONSE, DECODE_ERROR, TIMEOUT, TOO_MANY_REDIRECTS, NON_HTTP_REDIRECT