in app/util/AtomLogic.scala [30:39]
def processException(exception: Exception): Either[AtomAPIError, Nothing] = {
val atomApiError = exception match {
case e: ParsingFailure => AtomJsonParsingError(e.message)
case e: DecodingFailure => AtomThriftDeserialisingError(e.message)
case e: AmazonDynamoDBException => AmazonDynamoError(e.getMessage)
case _ => UnexpectedExceptionError
}
logger.error(atomApiError.msg, exception)
Left(atomApiError)
}