mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement protocol exception
This commit is contained in:
parent
6e72186e9c
commit
05ae4f166d
1 changed files with 9 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue