client/api/error_registry.go
func (r *MapErrorRegistry) MustAddMessageError(code int, message string) *Error {
	err, e := r.AddMessageError(code, message)
	if e != nil {
		panic(e)
	}
	return err
}
func (r *MapErrorRegistry) MustAddMessageError(code int, message string) *Error {
	err, e := r.AddMessageError(code, message)
	if e != nil {
		panic(e)
	}
	return err
}
// MustAddMessageError calls AddMessageError and panics in case of an error.