LeechCraft  0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
IDownload::Error Struct Reference

#include "idownload.h"

Public Types

enum  Type {
  Type::Unknown,
  Type::NoError,
  Type::NotFound,
  Type::Gone,
  Type::AccessDenied,
  Type::AuthRequired,
  Type::ProtocolError,
  Type::NetworkError,
  Type::ContentError,
  Type::ProxyError,
  Type::ServerError,
  Type::LocalError,
  Type::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

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 operator==().

◆ Type_

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

Referenced by operator==().


The documentation for this struct was generated from the following file: