trait Trace[+E] extends AnyRef
Tracing information about the error E
- Alphabetic
- By Inheritance
- Trace
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def asString: String
- abstract def map[E1](f: (E) => E1): Trace[E1]
- abstract def toThrowable: Throwable
The returned Throwable must contain some mention of the error
E
, if not the original error fully - abstract 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.- conv
convert any contained typed errors into a Throwable
- Note
may mutate arbitrary Throwables contained in the trace, discard all throwables that came from the same source
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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- Trace → AnyRef → Any
- final def unsafeAttachTraceOrReturnNewThrowable(): Throwable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()