I have a case class like this
case class OffboardingError1( userId: Option[String], error: OffboardingErrorType1 ) object OffboardingError1 {