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