class InvalidHeaderException extends ErrorException implements StatusExceptionInterface (View source)

Exception raised when a headre line content is not valid

Traits

Default StatusExceptionInterface implementation using Exception class error code

Constants

INVALID_HEADER_NAME

INVALID_HEADER_VALUE

INVALID_HEADER_LINE

Methods

getStatusCode()

No description

getHeaderErrorType()

No description

__construct(string $text, integer $type)

No description

Details

getStatusCode()

getHeaderErrorType()

__construct(string $text, integer $type)

Parameters

string $text Header line, name or value
integer $type [1-3] Header component which is not valid.