public static function forRepositoryPathAndModule($path, $moduleName, Exception $cause = null)
    {
        return new static(sprintf(
            'The repository path "%s" is not mapped in module "%s".',
            $path,
            $moduleName
        ), 0, $cause);
    }