E

e.scala.E
See theE companion class
object E

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
E.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def cause(e: E): E

Constructs an E containing given cause

Constructs an E containing given cause

Value parameters

e

A cause

Attributes

Returns

A new E containing given cause

def causeIf(condition: Boolean, e: => E): E

Constructs an E containing given cause if condition holds

Constructs an E containing given cause if condition holds

Value parameters

condition

Some condition on which to set the cause

e

A cause

Attributes

Returns

A new E containing given cause or empty E if condition doesn't hold

def causes(c: List[E]): E

Constructs an E containing given causes

Constructs an E containing given causes

Value parameters

c

Causes as a List

Attributes

Returns

A new E containing given causes

def causes(c: E*): E

Constructs an E containing given causes

Constructs an E containing given causes

Value parameters

c

Causes as variable arguments

Attributes

Returns

A new E containing given causes

def code(c: Int): E

Constructs an E containing given code

Constructs an E containing given code

Value parameters

c

A code

Attributes

Returns

A new E containing given code

def data(d: Map[String, String]): E

Constructs an E containing given data

Constructs an E containing given data

Value parameters

d

Data as a key-value map

Attributes

Returns

A new E containing given data

def data[V](k: String, v: V): E

Constructs an E containing given data entry

Constructs an E containing given data entry

Type parameters

V

Type of value of data entry

Value parameters

k

Key of data entry

v

Value of data entry

Attributes

Returns

A new E containing given data entry

def data[V](t: (String, V)): E

Constructs an E containing given data entry

Constructs an E containing given data entry

Type parameters

V

Type of value of data entry

Value parameters

t

Data entry

Attributes

Returns

A new E containing given data entry

def fromThrowable(throwable: Throwable): E

Constructs an E from given _root_.scala.Throwable

Constructs an E from given _root_.scala.Throwable

Value parameters

throwable

A Throwable

Attributes

Returns

A new E containing message of given Throwable or wrapped E in EException if Throwable is one

def message(m: String): E

Constructs an E containing given message

Constructs an E containing given message

Value parameters

m

Message to set

Attributes

Returns

A new E containing given message

def name(n: String): E

Constructs an E containing given name

Constructs an E containing given name

Value parameters

n

A name

Attributes

Returns

A new E containing given name

def now: E

Constructs an E containing time set to now

Constructs an E containing time set to now

Attributes

Returns

A new E containing time set to now

See also

java.lang.System#currentTimeMillis

def time(t: Long): E

Constructs an E containing given time

Constructs an E containing given time

Value parameters

t

A time

Attributes

Returns

A new E containing given time

Concrete fields

val empty: E

An empty E

An empty E

Attributes