implement protocol exception

This commit is contained in:
yggverse 2024-07-16 16:42:06 +03:00
parent 6e72186e9c
commit 05ae4f166d

View file

@ -92,9 +92,17 @@ class Connection extends \Yggverse\Yoda\Abstract\Model\Connection
default: default:
throw new \Exception( $this->setTitle(
_('Oops!')
);
$this->setData(
_('Protocol not supported') _('Protocol not supported')
); );
$this->setCompleted(
true
);
} }
} }
} }