TeamSpeak3/Ts3Exception.php
public static function unregisterCustomMessage($code)
    {
        if (!array_key_exists((int)$code, self::$messages)) {
            throw new self("custom message for code 0x" . strtoupper(dechex($code)) . " is not registered");
        }

        unset(self::$messages[intval($code)]);
    }
public static function unregisterCustomMessage($code)
    {
        if (!array_key_exists((int)$code, self::$messages)) {
            throw new self("custom message for code 0x" . strtoupper(dechex($code)) . " is not registered");
        }

        unset(self::$messages[intval($code)]);
    }
Unregisters a custom error message from $code.

@param  integer $code
@throws Ts3Exception
@return void