Trace

izumi.functional.bio.Exit.Trace
See theTrace companion object
trait Trace[+E]

Tracing information about the error E

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ZIOTrace[E]

Members list

Value members

Abstract methods

def asString: String
def map[E1](f: E => E1): Trace[E1]
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

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

Concrete methods

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
Any
final def unsafeAttachTraceOrReturnNewThrowable(): Throwable