Browse Source

implement protocol exception

PHP-GTK3
yggverse 4 months ago
parent
commit
05ae4f166d
  1. 10
      src/Model/Connection.php

10
src/Model/Connection.php

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