TooManyConnectionsException
extends RepoException
in package
Description of TooManyConnectionsException
Tags
Table of Contents
Constants
- TOO_MANY_CONNECTIONS = 429
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>>
Constants
TOO_MANY_CONNECTIONS
public
mixed
TOO_MANY_CONNECTIONS
= 429
Properties
$headers
HTTP response headers to be set
private
array<string, string|array<string|int, string>>
$headers
Methods
__construct()
public
__construct([string $message = "Too many connections" ][, int $code = 429 ][, Throwable|null $previous = null ][, array<string|int, mixed> $headers = [] ]) : mixed
Parameters
- $message : string = "Too many connections"
- $code : int = 429
- $previous : Throwable|null = null
- $headers : array<string|int, mixed> = []
getHeaders()
public
getHeaders() : array<string, string|array<string|int, string>>