Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. case class FatalError(override val code: Int = 1, exceptionCause: String, content: String = "") extends ServingError with S3_Backup with CsVTransformer with Kafka with JsonTransformer with Timestamp with Metric 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, content: String = "") extends ServingError with Kafka with JsonTransformer with Log{
  5. override val description: String = s"Invalid Request. Bad parameter: $paramName" + " " + s"with value: $paramValue"
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement