BadRequestException
extends RepoException
in package
Description of RepoException
Tags
Table of Contents
Properties
- $headers : array<string, string|array<string|int, string>>
- HTTP response headers to be set
Methods
- __construct() : mixed
- getHeaders() : array<string, string|array<string|int, string>>
Properties
$headers
HTTP response headers to be set
private
array<string, string|array<string|int, string>>
$headers
Methods
__construct()
public
__construct([string $message = "" ][, int $code = 400 ][, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string = ""
- $code : int = 400
- $previous : Throwable|null = null
getHeaders()
public
getHeaders() : array<string, string|array<string|int, string>>