Factory for creating HTTP exceptions.
Methods | ||
---|---|---|
public
static
|
create(
int $statusCode,
string|array|null $data,
array $headers = [],
int $code = 0,
?Throwable $previous = null,
): HttpExceptionInterface
|
# |