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)]);
      }
docs: Unregisters a custom error message from $code.
  
  @param  integer $code
  @throws Ts3Exception
  @return void