public function __construct(JsonApiErrorHandler $errorHandler) { $this->errorHandler = $errorHandler; }