mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-04-04 22:03:36 +03:00
Changed exception type
This commit is contained in:
parent
25342a4318
commit
806572b869
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class Server
|
|||
public function setOptions($bitmask = 0)
|
||||
{
|
||||
if (!is_numeric($bitmask))
|
||||
throw new \Exception();
|
||||
throw new \RuntimeException('Function requires numeric argument.');
|
||||
|
||||
$this->options = $bitmask;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue