protected function checkUnknownField(Resource $resource, array $fields)
    {
        $message = $resource->hasFields($fields);
        if ($message !== true) {
            $this->sendError(static::ERROR_UNKNOWN_FIELDS, $message);
        }
    }