\CodeIgniter\HTTP\ExceptionsHTTPException

Things that can go wrong with HTTP

A collection of exceptions thrown by the framework that can only be determined at run time.

Summary

Methods
Properties
Constants
forInvalidFile()
forCopyError()
forMissingExtension()
forNoHandlers()
forMissingCurl()
forSSLCertNotFound()
forInvalidSSLKey()
forCurlError()
forInvalidNegotiationType()
forInvalidHTTPProtocol()
forEmptySupportedNegotiations()
forInvalidRedirectRoute()
forMissingResponseStatus()
forInvalidStatusCode()
forUnkownStatusCode()
forUnableToParseURI()
forURISegmentOutOfRange()
forInvalidPort()
forMalformedQueryString()
forAlreadyMoved()
forMoveFailed()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

forCopyError()

forCopyError(\CodeIgniter\Exceptions\string  $path) 

Parameters

\CodeIgniter\Exceptions\string $path

forMissingExtension()

forMissingExtension(\CodeIgniter\Exceptions\string  $extension) 

Parameters

\CodeIgniter\Exceptions\string $extension

forNoHandlers()

forNoHandlers(\CodeIgniter\Exceptions\string  $class) 

Parameters

\CodeIgniter\Exceptions\string $class

forCurlError()

forCurlError(string  $errorNum, string  $error) : \CodeIgniter\HTTP\Exceptions\HTTPException

For CurlRequest

Parameters

string $errorNum
string $error

Returns

\CodeIgniter\HTTP\Exceptions\HTTPException

Not testable with travis-ci; we over-ride the method which triggers it

forMoveFailed()

forMoveFailed(\CodeIgniter\HTTP\Exceptions\string  $source, \CodeIgniter\HTTP\Exceptions\string  $target, \CodeIgniter\HTTP\Exceptions\string  $error) : \CodeIgniter\HTTP\Exceptions\HTTPException

For Uploaded file move

Parameters

\CodeIgniter\HTTP\Exceptions\string $source
\CodeIgniter\HTTP\Exceptions\string $target
\CodeIgniter\HTTP\Exceptions\string $error

Returns

\CodeIgniter\HTTP\Exceptions\HTTPException