Commit e85d3b37 authored by Jeremy Mikola's avatar Jeremy Mikola

Revise Watch::execute() docs for possible exceptions

UnexpectedValueException is only relevant for non-cursor aggregations, and UnsupportedException due to a write concern is not relevant for change streams.
parent b9b068d5
...@@ -122,8 +122,7 @@ class Watch implements Executable ...@@ -122,8 +122,7 @@ class Watch implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return ChangeStream * @return ChangeStream
* @throws UnexpectedValueException if the command response was malformed * @throws UnsupportedException if collation or read concern is used and unsupported
* @throws UnsupportedException if collation, read concern, or write concern is used and unsupported
* @throws DriverRuntimeException for other driver errors (e.g. connection errors) * @throws DriverRuntimeException for other driver errors (e.g. connection errors)
*/ */
public function execute(Server $server) public function execute(Server $server)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment