SequoiaDB
 All Classes Namespaces Files Functions Variables Enumerations Properties Pages
Properties | List of all members
SequoiaDB.BaseException Class Reference

Database operation exception. More...

Inheritance diagram for SequoiaDB.BaseException:

Properties

override string Message [get]
 Get the error description of exception.
 
string ErrorType [get]
 Get the error type of exception.
 
int ErrorCode [get]
 Get the error code of exception.
 
BsonDocument ErrorObject [get]
 Get the error object. When database try to tell the user what error happen in engine, it will merge all the error information, and return it by an bson.
 

Detailed Description

Database operation exception.

Property Documentation

SequoiaDB.BaseException.ErrorCode
get

Get the error code of exception.

SequoiaDB.BaseException.ErrorObject
get

Get the error object. When database try to tell the user what error happen in engine, it will merge all the error information, and return it by an bson.

Returns
The error object got from engine or null for no error object got from engine. If there has an error, it contains the follow fields:
  • errno: the error number.
  • description: the description of the errno.
  • detail: the error detail.
  • ErrNodes: describes which data nodes have errors, and detailed information about the error (this field is an expand field, which is only returned when an error occurs on the data node).
SequoiaDB.BaseException.ErrorType
get

Get the error type of exception.

SequoiaDB.BaseException.Message
get

Get the error description of exception.


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