Skip to content

Instantly share code, notes, and snippets.

@stephenjudkins
Created December 7, 2012 01:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephenjudkins/4230082 to your computer and use it in GitHub Desktop.
Save stephenjudkins/4230082 to your computer and use it in GitHub Desktop.
scala> @annotation.implicitNotFound("oh no! could not find Foo with ${A} ${B}") trait Foo[A,B]
defined trait Foo
scala> implicitly[Foo[String, Int]]
<console>:12: error: oh no! could not find Foo with String Int
implicitly[Foo[String, Int]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment