aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/discovery/CanDiscoverService.scala
blob: 87113327f29c74809def3ff88c8370f5baa7abe7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package xyz.driver.core
package discovery

import scala.annotation.implicitNotFound

@implicitNotFound(
  "Don't know how to communicate with service ${Service}. Make sure an implicit CanDiscoverService is" +
    "available. A good place to put one is in the service's companion object.")
trait CanDiscoverService[Service] {
  def discover(platform: Platform): Service
}