http\Encoding
[mdref/mdref-http] / http / Object / setDefaultErrorHandling.md
1 # static void http\Object::setDefaultErrorHandling(int $eh)
2
3 Set the http extension's global default error handling.
4
5 ## Params:
6
7 * int $eh
8 The error handling. See http\Object::EH_* constants.
9
10 ## Throws:
11
12 * http\Exception
13 When http\Object::EH_THROW is in effect.
14
15 ## Warnings:
16
17 * E_RUNTIME, if $eh is an unknown error handling.