class JsonApiErrors implements ErrorMiddlewareInterface

Methods

__invoke($error, ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

{@inheritdoc}

Details

__invoke($error, ServerRequestInterface $request, ResponseInterface $response, callable $out = null)

{@inheritdoc}

Parameters

$error
ServerRequestInterface $request
ResponseInterface $response
callable $out