error: add bson_error_t.

Add error type for tracking errors.