LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
IDownload::Error Struct Reference

#include "idownload.h"

Public Types

enum class  Type {
  Unknown ,
  NoError ,
  NotFound ,
  Gone ,
  AccessDenied ,
  AuthRequired ,
  ProtocolError ,
  NetworkError ,
  ContentError ,
  ProxyError ,
  ServerError ,
  LocalError ,
  UserCanceled
}

Public Member Functions

bool operator== (const Error &other) const

Public Attributes

enum IDownload::Error::Type Type_
QString Message_

Detailed Description

Definition at line 45 of file idownload.h.

Member Enumeration Documentation

◆ Type

enum class IDownload::Error::Type
strong
Enumerator
Unknown 
NoError 
NotFound 
Gone 
AccessDenied 
AuthRequired 
ProtocolError 
NetworkError 
ContentError 
ProxyError 
ServerError 
LocalError 
UserCanceled 

Definition at line 47 of file idownload.h.

Member Function Documentation

◆ operator==()

bool IDownload::Error::operator== ( const Error & other) const
inline

Definition at line 66 of file idownload.h.

References Message_, and Type_.

Member Data Documentation

◆ Message_

QString IDownload::Error::Message_

Definition at line 64 of file idownload.h.

Referenced by LC::Util::DownloadAsTemporary(), and operator==().

◆ Type_

enum IDownload::Error::Type IDownload::Error::Type_

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/interfaces/idownload.h