I have a custom exception class like the following :
case class CustomException(errorMsg:String) extends Exception(error:String)
All what I ne
case class CustomException(errorMsg:String) extends Exception(errorMsg)