WCTErrorType Constants Reference

Declared in WCTError.h

WCTErrorType

It indicates the error type for WCTError. You can see Error::report method in the source code as a practical handling way.

Definition

typedef NS_ENUM(int, WCTErrorType ) {
   WCTErrorTypeSQLite = ( WCTErrorType ) : : Error : : Type : : SQLite,
   WCTErrorTypeSystemCall = ( WCTErrorType ) : : Error : : Type : : SystemCall,
   WCTErrorTypeCore = ( WCTErrorType ) : : Error : : Type : : Core,
   WCTErrorTypeInterface = ( WCTErrorType ) : : Error : : Type : : Interface,
   WCTErrorTypeAbort = ( WCTErrorType ) : : Error : : Type : : Abort,
   WCTErrorTypeWarning = ( WCTErrorType ) : : Error : : Type : : Warning,
   WCTErrorTypeSQLiteGlobal = ( WCTErrorType ) : : Error : : Type : : SQLiteGlobal,
};

Constants

WCTErrorTypeSQLite

An error comes from sqlite interface. You can check it at http://www.sqlite.org/rescode.html .

Declared In WCTError.h.

WCTErrorTypeSystemCall

System error, which is obtained by [errno].

Declared In WCTError.h.

WCTErrorTypeCore

An error comes from core layer of WCDB. For further information, see [Error::CoreCode] in [error.hpp].

Declared In WCTError.h.

WCTErrorTypeInterface

An error comes from interface layer of WCDB. For further information, see [Error::InterfaceCode] in [error.hpp].

Declared In WCTError.h.

WCTErrorTypeAbort

Development error. You should fix it before release.

Declared In WCTError.h.

WCTErrorTypeWarning

Warning. You’d better fix it.

Declared In WCTError.h.

WCTErrorTypeSQLiteGlobal

An error comes from [SQLITE_CONFIG_LOG]. You can check it at http://www.sqlite.org/rescode.html .

Declared In WCTError.h.

Declared In

WCTError.h