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

#include <FileError.h>

Inheritance diagram for WebCore::FileError:
WTF::RefCounted< FileError > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  ErrorCode {
  OK = 0, NOT_FOUND_ERR = 1, SECURITY_ERR = 2, ABORT_ERR = 3,
  NOT_READABLE_ERR = 4, ENCODING_ERR = 5, NO_MODIFICATION_ALLOWED_ERR = 6, INVALID_STATE_ERR = 7,
  SYNTAX_ERR = 8, INVALID_MODIFICATION_ERR = 9, QUOTA_EXCEEDED_ERR = 10, TYPE_MISMATCH_ERR = 11,
  PATH_EXISTS_ERR = 12
}
 

Public Member Functions

ErrorCode code () const
 
- Public Member Functions inherited from WTF::RefCounted< FileError >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< FileErrorcreate (ErrorCode code)
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< FileError >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ ErrorCode

Enumerator
OK 
NOT_FOUND_ERR 
SECURITY_ERR 
ABORT_ERR 
NOT_READABLE_ERR 
ENCODING_ERR 
NO_MODIFICATION_ALLOWED_ERR 
INVALID_STATE_ERR 
SYNTAX_ERR 
INVALID_MODIFICATION_ERR 
QUOTA_EXCEEDED_ERR 
TYPE_MISMATCH_ERR 
PATH_EXISTS_ERR 

Member Function Documentation

◆ code()

ErrorCode WebCore::FileError::code ( ) const
inline

◆ create()

static Ref<FileError> WebCore::FileError::create ( ErrorCode  code)
inlinestatic

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