Browse Source

implement protocol exception

PHP-GTK3
yggverse 5 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
default: default:
throw new \Exception( $this->setTitle(
_('Oops!')
);
$this->setData(
_('Protocol not supported') _('Protocol not supported')
); );
$this->setCompleted(
true
);
} }
} }
} }
Loading…
Cancel
Save