Fail

kyo.Result$package.Result.Fail
See theFail companion object
case class Fail[+E](error: E) extends Error[E]

Represents a failure in a Result.

Attributes

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

Members list

Value members

Concrete methods

def getFailure: E | Throwable

Gets the failure value.

Gets the failure value.

Attributes

Returns

The error value or exception

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product