h1 -> h2 for Throws
[mdref/mdref-pq] / pq / COPY / end.md
1 # void pq\COPY::end([string $error = NULL])
2
3 End the COPY operation to the server during pq\Result::COPY_IN state.
4
5 ## Params:
6
7 * Optional string $error = NULL
8 If set, the COPY operation will abort with provided message.
9
10 ## Throws:
11
12 * pq\Exception\InvalidArgumentException
13 * pq\Exception\BadMethodCallException
14 * pq\Exception\RuntimeException