BadRequestException extends AbstractClientErrorException
Exception for Error 400 - Bad Request
Table of Contents
Properties
- $message : string
- $statusHeaders : array<string|int, mixed>
- $title : string
Methods
- __construct() : mixed
- Constructor for this Status Exception
- getStatusHeaders() : array<string|int, mixed>
- Getter for the Status Header.
- getTitle() : string
- Getter for the title.
- setTitle() : mixed
- Setter for the title.
Properties
$message
protected
string
$message
= 'The request cannot be fulfilled due to bad syntax.'
Error Message
$statusHeaders
protected
array<string|int, mixed>
$statusHeaders
= [\TYPO3\CMS\Core\Utility\HttpUtility::HTTP_STATUS_400]
HTTP Status Header lines
$title
protected
string
$title
= 'Bad Request (400)'
Title of the message
Methods
__construct()
Constructor for this Status Exception
public
__construct([string $message = null ][, int $code = 0 ]) : mixed
Parameters
- $message : string = null
-
Error Message
- $code : int = 0
-
Exception Code
getStatusHeaders()
Getter for the Status Header.
public
getStatusHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>getTitle()
Getter for the title.
public
getTitle() : string
Return values
stringsetTitle()
Setter for the title.
public
setTitle(string $title) : mixed
Parameters
- $title : string