We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f37309 commit e1bcc96Copy full SHA for e1bcc96
GearmanProducer.php
@@ -7,6 +7,7 @@
7
use Interop\Queue\Destination;
8
use Interop\Queue\Exception\InvalidDestinationException;
9
use Interop\Queue\Exception\InvalidMessageException;
10
+use Interop\Queue\Exception\PriorityNotSupportedException;
11
use Interop\Queue\Message;
12
use Interop\Queue\Producer;
13
@@ -59,7 +60,7 @@ public function setPriority(int $priority = null): Producer
59
60
return $this;
61
}
62
- throw new \LogicException('Not implemented');
63
+ throw PriorityNotSupportedException::providerDoestNotSupportIt();
64
65
66
public function getPriority(): ?int
0 commit comments