3.1.10. error()

void error ( int $level, string $message, int $code )

The method is used by OPT to generate exceptions. The $level is one of: E_USER_ERROR or E_USER_WARNING. For the user error messages, the codes from 401 are reserved.