public function resourceTypeNotRecognised(string $type, string $path = '/data'): ErrorInterface
    {
        return new Error(
            null,
            null,
            Response::HTTP_BAD_REQUEST,
            $this->trans('resource_type_not_recognised', 'code'),
            $this->trans('resource_type_not_recognised', 'title'),
            $this->trans('resource_type_not_recognised', 'detail', compact('type')),
            $this->pointer($path, 'type')
        );
    }