GitRepoError
class BuildException
trait Diagnostic
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Value members
Inherited methods
def maybeRecoverWithDefault[T](default: T, maybeRecoverFunction: BuildException => Option[BuildException]): Either[BuildException, T]
- Type parameters:
- T
type of the default value
- Value parameters:
- default
default value returned as a Right instance on recovery
- maybeRecoverFunction
potential recovery function, returns None on recovery and Some(identity(_)) otherwise
- Returns:
Right(default) on recovery, Left(buildException) otherwise
- Inherited from:
- BuildException