ZIOTrace

izumi.functional.bio.Exit.Trace.ZIOTrace
final case class ZIOTrace[+E](cause: Cause[E]) extends Trace[E]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Trace[E]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def asString: String

Attributes

Definition Classes
override def map[E1](f: E => E1): Trace[E1]

Attributes

Definition Classes
override def toThrowable: Throwable

The returned Throwable must contain some mention of the error E, if not the original error fully

The returned Throwable must contain some mention of the error E, if not the original error fully

Attributes

Definition Classes
override def unsafeAttachTraceOrReturnNewThrowable(conv: E => Throwable): Throwable

Try to Unsafely Mutate the contained Throwable (if any) to attach this Trace's debugging information to it and return it.

Try to Unsafely Mutate the contained Throwable (if any) to attach this Trace's debugging information to it and return it.

If the Throwable cannot be mutated to attach tracing information to it, may create a new Throwable with the tracing information.

The returned Throwable must contain some mention of the error E, if not the original error fully.

Value parameters

conv

convert any contained typed errors into a Throwable

Attributes

Note

may mutate arbitrary Throwables contained in the trace, discard all throwables that came from the same source

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
final override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Trace -> Any
Inherited from:
Trace
final def unsafeAttachTraceOrReturnNewThrowable(): Throwable

Attributes

Inherited from:
Trace