in src/main/scala/com/gu/flexible/snapshotter/model/Attempt.scala [38:43]
def asFuture(implicit ec: ExecutionContext): Future[Either[AttemptErrors, A]] = {
underlying recover { case err =>
val apiErrors = AttemptErrors(AttemptError(err.getMessage, throwable = Some(err)))
scala.Left(apiErrors)
}
}