bson_error_t.The bson_error_t structure is used to encapsulate information about an error.
See bson_error_t.
mongodb :: BSONError :: defaultinit
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			core :: Pointer :: defaultinit
core :: Object :: defaultinit
mongodb :: BSONError :: defaultinit
core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).
# Wrapper for `bson_error_t`.
#
# The `bson_error_t` structure is used to encapsulate information about an error.
#
# See [`bson_error_t`](http://api.mongodb.org/libbson/current/bson_error_t.html).
extern class BSONError `{ bson_error_t * `}
	# Wrapper for `error.domain`.
	#
	# The `error.domain` field contains the logical domain within a library that
	# created the error.
	fun domain: Int `{ return self->domain; `}
	# Wrapper for `error.code`.
	#
	# The `error.code` field contains the domain specific error code.
	fun code: Int `{ return self->code; `}
	# Wrapper for `error.message`.
	#
	# The `error.message` field contains a human printable error message.
	fun message: CString `{ return self->message; `}
end
					lib/mongodb/native_mongodb.nit:82,1--104,3