Skip to content

BadGatewayException


Methods

__construct

public __construct(string $message = 'The server cannot complete the request because a ' . 'downstream process failed to respond properly.', int $code = 502, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message string
$code int
$previous ?\Throwable

Inherited methods

__construct

public __construct(?string $message = '', int $code = 0, ?\Throwable $previous = null): mixed

Parameters:

Parameter Type Description
$message ?string
$code int
$previous ?\Throwable

Throws:


__toString

public __toString(): string