* The following error codes are used:
 * - -1 - error outside UnRAR library*
- 11 - insufficient memory*
- 12 - bad data*
- 13 - bad archive*
- 14 - unknown format*
- 15 - file open error*
- 16 - file create error*
- 17 - file close error*
- 18 - read error*
- 19 - write error*
- 20 - buffer too small*
- 21 - unkown RAR error*
- 22 - password required but not given*
*
 * @link https://php.net/manual/en/class.rarexception.php
 */
final class RarException extends Exception
{
    /**
     * Check whether error handling with exceptions is in use
     *
     * @link https://php.net/manual/en/rarexception.isusingexceptions.php
     *
     * @return bool TRUE if exceptions are being used, FALSE otherwise
     */
    public static function isUsingExceptions() {}
    /**
     * Activate and deactivate error handling with exceptions
     *
     * @link https://php.net/manual/en/rarexception.setusingexceptions.php
     *
     * @param bool $using_exceptions Should be TRUE to activate exception throwing, FALSE to deactivate (the default)
     */
    public static function setUsingExceptions($using_exceptions) {}
}