27 assert(
'is_string($reason)');
30 parent::__construct(
array(
'BADREQUEST',
'%REASON%' => $this->reason));
31 $this->httpCode = 400;
$reason
Reason why this request was invalid.
getReason()
Retrieve the reason why the request was invalid.
Create styles array
The data for the language used.
__construct($reason)
Create a new BadRequest error.