Pancake\invalidHTTPRequestException API

pp3345 edited this page Apr 1, 2013 · 1 revision

This is a documentation of APIs available in the Pancake\invalidHTTPRequestException class. Instances of Pancake\invalidHTTPRequestException are available via $exception in custom exception page handlers.

Public properties

string header

The HTTP request header as sent by the client.

Public methods

long getCode()

Returns the HTTP answer code set for the exception. May be passed to Pancake\HTTPRequest::getAnswerCodeString() to get the corresponding string.

string getMessage()

Returns the reason of the exception.