// TODO: additional validation on occurrence data
additional validation on occurrence data
// TODO : additional validation on occurrence data
func (rollbar *Rollbar) isValid() string {
	if rollbar.EventName == "" {
		return "Missing rollbar.event_name"
	}
	_, supported := supportedEvents[rollbar.EventName]
	if !supported {
		return "Unsupported rollbar.event_name"
	}
	return ""
}
func ( rollbar * Rollbar ) isValid ( ) string { if rollbar . EventName == " " { return " " } _ , supported := supportedEvents [ rollbar . EventName ] if ! supported { return " " } return " " }
additional validation on occurrence data
additional validation on occurrence data