code: func IsAdbServerErrorMatching(err error, predicate func(string) bool) bool {
  	if err, ok := err.(*errors.Err); ok && err.Code == errors.AdbError {
  		return predicate(err.Details.(ErrorResponseDetails).ServerMsg)
  	}
  	return false
  }
docs: // IsAdbServerErrorMatching returns true if err is an *Err with code AdbError and for which
  // predicate returns true when passed Details.ServerMsg.