All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mdoc.internal.document.MdocNonFatal.scala Maven / Gradle / Ivy

The newest version!
package mdoc.internal.document

import scala.util.control.NonFatal

object MdocNonFatal {
  // NOTE(olafur): Treat all exceptions as non-fatal when evaluating user-code
  // to avoid issues like https://github.com/scalameta/metals/issues/1456
  def unapply(e: Throwable): Option[Throwable] = Some(e)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy