Skip to content

Instantly share code, notes, and snippets.

@bkyrlach
Created May 15, 2020 17:28
Show Gist options
  • Save bkyrlach/52bc059c62dc583b6beae8ac7eb38920 to your computer and use it in GitHub Desktop.
Save bkyrlach/52bc059c62dc583b6beae8ac7eb38920 to your computer and use it in GitHub Desktop.
sealed trait DaxcoError
case object NotFound extends DaxcoError
case object NoClasses extends DaxcoError
case object ClassFull extends DaxcoError
def someApiCall(someInput: ???): IO[Either[DaxcoError,???]] = ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment