Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. case class FatalError(override val code: Int = 1, exceptionCause: String) extends ServingError with S3_Backup with Kafka with Monitor with Log{
  2. override val description: String = s"Fatal Error code $code accrued"
  3. }
  4. case class InvalidRequestError(paramName: String, paramValue: String, override val code: Int = 2) extends ServingError with Kafka with Monitoring with Log{
  5. override val description: String = s"Invalid Request. Bad parameter: $paramName" + " " + s"with value: $paramValue"
  6. }
  7. case class FatalError(override val code: Int = 1, exceptionCause: String) extends ServingError with S3_Backup with Kafka with Monitor with Log{
  8. override val description: String = s"Fatal Error code $code accrued"
  9. }
  10. case class InvalidRequestError(paramName: String, paramValue: String, override val code: Int = 2) extends ServingError with Kafka with Monitoring with Log{
  11. override val description: String = s"Invalid Request. Bad parameter: $paramName" + " " + s"with value: $paramValue"
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement