public function setAsFailRoute($bool = true)
    {
        if(!$bool)
            return $this;

        $name = $this->name;

        if(!$name)
            throw new InvalidArgumentException('This route has to be named first.');

        $this->group->setFailRoute($name);

        return $this;
    }