code: func IsBroadcastError(err error, codes ...BroadcastErrorCode) bool {
  	broadcastErr, ok := err.(*BroadcastError)
  	if !ok {
  		return false
  	}
  
  	for _, code := range codes {
  		if broadcastErr.Code == code {
  			return true
  		}
  	}
  
  	return false
  }
docs: // IsBroadcastError is a helper function that can be used to determine whether
  // an error is a BroadcastError that matches any of the specified codes.