Error

indigo.shared.Outcome.Error
See theError companion object
final case class Error(e: Throwable, crashReporter: PartialFunction[Throwable, String]) extends Outcome[Nothing]

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Outcome[Nothing]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addGlobalEvents(newEvents: GlobalEvent*): Error
def addGlobalEvents(newEvents: => Batch[GlobalEvent]): Error
def ap[B](of: Outcome[Nothing => B]): Outcome[B]
def combine[B](other: Outcome[B]): Error
def createGlobalEvents(f: Nothing => Batch[GlobalEvent]): Error
def flatMap[B](f: Nothing => Outcome[B]): Error
def getOrElse[B](b: => B): B
def handleError[B](recoverWith: Throwable => Outcome[B]): Outcome[B]
def isError: Boolean
def isResult: Boolean
def logCrash(reporter: PartialFunction[Throwable, String]): Outcome[Nothing]
def map[B](f: Nothing => B): Error
def mapAll[B](f: Nothing => B, g: Batch[GlobalEvent] => Batch[GlobalEvent]): Error
def merge[B, C](other: Outcome[B])(f: (Nothing, B) => C): Error
def orElse[B](b: => Outcome[B]): Outcome[B]
def reportCrash: String
def unsafeGet: Nothing

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product