webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::ResourceError Class Reference

#include <ResourceError.h>

Inheritance diagram for WebCore::ResourceError:
WebCore::ResourceErrorBase WebCore::ResourceErrorBase WebCore::ResourceErrorBase

Public Member Functions

 ResourceError (Type type=Type::Null)
 
 ResourceError (const String &domain, int errorCode, const URL &failingURL, const String &localizedDescription, Type type=Type::General)
 
WEBCORE_EXPORT ResourceError (CFErrorRef error)
 
WEBCORE_EXPORT CFErrorRef cfError () const
 
WEBCORE_EXPORT operator CFErrorRef () const
 
 ResourceError (Type type=Type::Null)
 
 ResourceError (const String &domain, int errorCode, const URL &failingURL, const String &localizedDescription, Type type=Type::General)
 
WEBCORE_EXPORT ResourceError (CFErrorRef error)
 
WEBCORE_EXPORT CFErrorRef cfError () const
 
WEBCORE_EXPORT operator CFErrorRef () const
 
 ResourceError (Type type=Type::Null)
 
 ResourceError (const String &domain, int errorCode, const URL &failingURL, const String &localizedDescription, Type type=Type::General)
 
unsigned sslErrors () const
 
void setSSLErrors (unsigned sslVerifyResult)
 
bool hasSSLConnectError () const
 
- Public Member Functions inherited from WebCore::ResourceErrorBase
ResourceError isolatedCopy () const
 
const Stringdomain () const
 
int errorCode () const
 
const URLfailingURL () const
 
const StringlocalizedDescription () const
 
bool isNull () const
 
bool isGeneral () const
 
bool isAccessControl () const
 
bool isCancellation () const
 
bool isTimeout () const
 
void setType (Type)
 
Type type () const
 
ResourceError isolatedCopy () const
 
const Stringdomain () const
 
int errorCode () const
 
const URLfailingURL () const
 
const StringlocalizedDescription () const
 
bool isNull () const
 
bool isGeneral () const
 
bool isAccessControl () const
 
bool isCancellation () const
 
bool isTimeout () const
 
void setType (Type)
 
Type type () const
 

Static Public Member Functions

static bool platformCompare (const ResourceError &a, const ResourceError &b)
 
static bool platformCompare (const ResourceError &a, const ResourceError &b)
 
- Static Public Member Functions inherited from WebCore::ResourceErrorBase
static bool compare (const ResourceError &, const ResourceError &)
 
static bool compare (const ResourceError &, const ResourceError &)
 

Friends

class ResourceErrorBase
 

Additional Inherited Members

- Public Types inherited from WebCore::ResourceErrorBase
enum  Type {
  Type::Null, Type::General, Type::AccessControl, Type::Cancellation,
  Type::Timeout, Type::Null, Type::General, Type::AccessControl,
  Type::Cancellation, Type::Timeout
}
 
enum  Type {
  Type::Null, Type::General, Type::AccessControl, Type::Cancellation,
  Type::Timeout, Type::Null, Type::General, Type::AccessControl,
  Type::Cancellation, Type::Timeout
}
 
- Protected Member Functions inherited from WebCore::ResourceErrorBase
 ResourceErrorBase (Type type)
 
 ResourceErrorBase (const String &domain, int errorCode, const URL &failingURL, const String &localizedDescription, Type type)
 
WEBCORE_EXPORT void lazyInit () const
 
void platformLazyInit ()
 
 ResourceErrorBase (Type type)
 
 ResourceErrorBase (const String &domain, int errorCode, const URL &failingURL, const String &localizedDescription, Type type)
 
WEBCORE_EXPORT void lazyInit () const
 
void platformLazyInit ()
 
- Static Protected Member Functions inherited from WebCore::ResourceErrorBase
static bool platformCompare (const ResourceError &, const ResourceError &)
 
static bool platformCompare (const ResourceError &, const ResourceError &)
 
- Protected Attributes inherited from WebCore::ResourceErrorBase
String m_domain
 
URL m_failingURL
 
String m_localizedDescription
 
int m_errorCode { 0 }
 
Type m_type { Type::General }
 

Constructor & Destructor Documentation

◆ ResourceError() [1/8]

WebCore::ResourceError::ResourceError ( Type  type = Type::Null)
inline

◆ ResourceError() [2/8]

WebCore::ResourceError::ResourceError ( const String domain,
int  errorCode,
const URL failingURL,
const String localizedDescription,
Type  type = Type::General 
)
inline

◆ ResourceError() [3/8]

WebCore::ResourceError::ResourceError ( CFErrorRef  error)

◆ ResourceError() [4/8]

WebCore::ResourceError::ResourceError ( Type  type = Type::Null)
inline

◆ ResourceError() [5/8]

WebCore::ResourceError::ResourceError ( const String domain,
int  errorCode,
const URL failingURL,
const String localizedDescription,
Type  type = Type::General 
)
inline

◆ ResourceError() [6/8]

WEBCORE_EXPORT WebCore::ResourceError::ResourceError ( CFErrorRef  error)

◆ ResourceError() [7/8]

WebCore::ResourceError::ResourceError ( Type  type = Type::Null)
inline

◆ ResourceError() [8/8]

WebCore::ResourceError::ResourceError ( const String domain,
int  errorCode,
const URL failingURL,
const String localizedDescription,
Type  type = Type::General 
)
inline

Member Function Documentation

◆ cfError() [1/2]

CFErrorRef WebCore::ResourceError::cfError ( ) const

◆ cfError() [2/2]

WEBCORE_EXPORT CFErrorRef WebCore::ResourceError::cfError ( ) const

◆ hasSSLConnectError()

bool WebCore::ResourceError::hasSSLConnectError ( ) const
inline

◆ operator CFErrorRef() [1/2]

WebCore::ResourceError::operator CFErrorRef ( ) const

◆ operator CFErrorRef() [2/2]

WEBCORE_EXPORT WebCore::ResourceError::operator CFErrorRef ( ) const

◆ platformCompare() [1/2]

static bool WebCore::ResourceError::platformCompare ( const ResourceError a,
const ResourceError b 
)
static

◆ platformCompare() [2/2]

bool WebCore::ResourceError::platformCompare ( const ResourceError a,
const ResourceError b 
)
static

◆ setSSLErrors()

void WebCore::ResourceError::setSSLErrors ( unsigned  sslVerifyResult)
inline

◆ sslErrors()

unsigned WebCore::ResourceError::sslErrors ( ) const
inline

Friends And Related Function Documentation

◆ ResourceErrorBase


The documentation for this class was generated from the following files: