mirror of
https://github.com/danog/amp.git
synced 2024-12-02 17:37:50 +01:00
Merge pull request #97 from async-interop/issue-93
Change exception base classes to Exception
This commit is contained in:
commit
a31f5188cc
@ -3,10 +3,11 @@
|
||||
namespace Interop\Async\Loop;
|
||||
|
||||
/**
|
||||
* MUST be thrown if any operation (except cancel()) is attempted with an invalid watcher identifier. An invalid watcher
|
||||
* identifier is any identifier that is not yet emitted by the driver or cancelled by the user.
|
||||
* MUST be thrown if any operation (except disable() and cancel()) is attempted with an invalid watcher identifier.
|
||||
*
|
||||
* An invalid watcher identifier is any identifier that is not yet emitted by the driver or cancelled by the user.
|
||||
*/
|
||||
class InvalidWatcherException extends \LogicException
|
||||
class InvalidWatcherException extends \Exception
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -3,11 +3,11 @@
|
||||
namespace Interop\Async\Loop;
|
||||
|
||||
/**
|
||||
* Must be thrown if a feature is not supported by the system.
|
||||
* MUST be thrown if a feature is not supported by the system.
|
||||
*
|
||||
* This might happen if PCNTL is missing and the loop driver doesn't support another way to dispatch signals.
|
||||
* This might happen if ext-pcntl is missing and the loop driver doesn't support another way to dispatch signals.
|
||||
*/
|
||||
class UnsupportedFeatureException extends \RuntimeException
|
||||
class UnsupportedFeatureException extends \Exception
|
||||
{
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user