/**
  * @param CodecMatcherInterface $codecMatcher
  * @param ResponsesInterface    $responses
  * @param int                   $statusCode
  * @param Closure               $converter Exception to JSON API Error converter
  */
 public function __construct(CodecMatcherInterface $codecMatcher, ResponsesInterface $responses, $statusCode, Closure $converter)
 {
     parent::__construct($responses);
     $this->converter = $converter;
     $this->codecMatcher = $codecMatcher;
     $this->withStatusCode($statusCode);
 }
 /**
  * @param ResponsesInterface $responses
  * @param int                $statusCode
  */
 public function __construct(ResponsesInterface $responses, $statusCode)
 {
     parent::__construct($responses);
     $this->withStatusCode($statusCode);
 }