http\Client::count
[mdref/mdref-http] / http / Object / triggerError.md
1 # void http\Object::triggerError(int $eh, int $code, string $error)
2
3 Trigger an error with the specified error handling.
4
5 ## Params:
6
7 * int $eh
8 The error handling to use. See http\Object::EH_* constants.
9 * int $code
10 The error code.
11 * string $error
12 The error message.
13