in app/db/AtomWorkshopDB.scala [13:20]
def transformAtomLibResult[T](atomType: AtomType, id: String, result: DataStoreResultUtil.DataStoreResult[T]): Either[AtomAPIError, T] = result match {
case Left(IDNotFound) => Left(UnknownAtomError(atomType, id))
case Left(VersionConflictError(_)) => Left(AtomWorkshopDynamoConflictError)
case Left(e) => Left(AtomWorkshopDynamoDatastoreError(e.msg))
case Right(r) =>
logger.info(s"Successfully updated atom of type ${atomType.name} with id $id")
Right(r)
}