code: func isDbBucketNotFoundErr(err error) bool {
  	dbErr, ok := err.(database.Error)
  	return ok && dbErr.ErrorCode == database.ErrBucketNotFound
  }
docs: // isDbBucketNotFoundErr returns whether or not the passed error is a
  // database.Error with an error code of database.ErrBucketNotFound.