sealed abstract class Result[+A] extends Product with Serializable
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def ap[B](f: Result[(A) ⇒ B]): Result[B]
-
abstract
def
canEqual(that: Any): Boolean
- Definition Classes
- Equals
- abstract def exists(f: (A) ⇒ Boolean): Boolean
- abstract def failed: Result[ConfigError]
- abstract def flatMap[B](f: (A) ⇒ Result[B]): Result[B]
- abstract def flatten[B](implicit ev: <:<[A, Result[B]]): Result[B]
- abstract def fold[B](ifFailure: (ConfigError) ⇒ B, ifSuccess: (A) ⇒ B): B
- abstract def forall(f: (A) ⇒ Boolean): Boolean
- abstract def foreach(f: (A) ⇒ Unit): Unit
- abstract def handleWith[B >: A](pf: PartialFunction[ConfigError, Result[B]]): Result[B]
- abstract def isSuccess: Boolean
- abstract def map[B](f: (A) ⇒ B): Result[B]
- abstract def mapError(f: (ConfigError) ⇒ ConfigError): Result[A]
- abstract def orElse[B >: A](fallback: ⇒ Result[B]): Result[B]
-
abstract
def
productArity: Int
- Definition Classes
- Product
-
abstract
def
productElement(n: Int): Any
- Definition Classes
- Product
- abstract def toEither: Either[ConfigError, A]
- abstract def toOption: Option[A]
- abstract def value: A
- abstract def valueOr[B >: A](f: (ConfigError) ⇒ B): B
- abstract def valueOrElse[B >: A](default: ⇒ B): B
- abstract def valueOrThrow(e: (ConfigError) ⇒ Throwable): A
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- final def handle[B >: A](pf: PartialFunction[ConfigError, B]): Result[B]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- final def isFailure: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Product
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- final def withPath(path: String): Result[A]