func (c *Context) createErrorFromStatus() error {
	status := C.mongocrypt_status_new()
	defer C.mongocrypt_status_destroy(status)
	C.mongocrypt_ctx_status(c.wrapped, status)
	return errorFromStatus(status)
}
// createErrorFromStatus creates a new Error based on the status of the MongoCrypt instance.
createErrorFromStatus creates a new Error based on the status of the MongoCrypt instance.
// createErrorFromStatus creates a new Error based on the status of the MongoCrypt instance .
func (c *Context) createErrorFromStatus() error {
	status := C.mongocrypt_status_new()
	defer C.mongocrypt_status_destroy(status)
	C.mongocrypt_ctx_status(c.wrapped, status)
	return errorFromStatus(status)
}
func ( c * Context ) createErrorFromStatus ( ) error { status := C . mongocrypt_status_new ( ) defer C . mongocrypt_status_destroy ( status ) C . mongocrypt_ctx_status ( c . wrapped , status ) return errorFromStatus ( status ) }
createErrorFromStatus creates a new Error based on the status of the MongoCrypt instance.
createErrorFromStatus creates a new Error based on the status of the MongoCrypt instance .