public function getPass(): string
    {
        if (!isset($this->segments['pass'])) {
            throw new UrlException('Unable to get pass for ' . $this->url);
        }

        return $this->segments['pass'];
    }