the-algorithm/pushservice/src/main/scala/com/twitter/frigate/pushservice/exception/InvalidSportDomainException.scala
twitter-team b389c3d302 Open-sourcing pushservice
Pushservice is the main recommendation service we use to surface recommendations to our users via notifications. It fetches candidates from various sources, ranks them in order of relevance, and applies filters to determine the best one to send.
2023-05-19 16:27:07 -05:00

13 lines
331 B
Scala

package com.twitter.frigate.pushservice.exception
import scala.util.control.NoStackTrace
/**
* Throw exception if the sport domain is not supported by MagicFanoutSports
*
* @param message Exception message
*/
class InvalidSportDomainException(private val message: String)
extends Exception(message)
with NoStackTrace