implicit final class StackTraceOps extends AnyVal with StackTracing
- Alphabetic
- By Inheritance
- StackTraceOps
- StackTracing
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from StackTraceOps toany2stringadd[StackTraceOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (StackTraceOps, B)
- Implicit
- This member is added by an implicit conversion from StackTraceOps toArrowAssoc[StackTraceOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (StackTraceOps) => Boolean, msg: => Any): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps toEnsuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (StackTraceOps) => Boolean): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps toEnsuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps toEnsuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): StackTraceOps
- Implicit
- This member is added by an implicit conversion from StackTraceOps toEnsuring[StackTraceOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from StackTraceOps toStringFormat[StackTraceOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def stackTracePrefixString(p: (StackTraceElement) => Boolean): String
Format the stack trace, returning the prefix consisting of frames that satisfy a given predicate.
Format the stack trace, returning the prefix consisting of frames that satisfy a given predicate. The format is similar to the typical case described in the Javadoc for java.lang.Throwable#printStackTrace()*. If a stack trace is truncated, it will be followed by a line of the form
... 3 elided
, by analogy to the lines... 3 more
which indicate shared stack trace segments.- p
the predicate to select the prefix
- def stackTracePrefixString(e: Throwable)(p: (StackTraceElement) => Boolean): String
Format a stack trace, returning the prefix consisting of frames that satisfy a given predicate.
Format a stack trace, returning the prefix consisting of frames that satisfy a given predicate. The format is similar to the typical case described in the Javadoc for java.lang.Throwable#printStackTrace()*. If a stack trace is truncated, it will be followed by a line of the form
... 3 elided
, by analogy to the lines... 3 more
which indicate shared stack trace segments.- e
the exception
- p
the predicate to select the prefix
- Definition Classes
- StackTracing
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def →[B](y: B): (StackTraceOps, B)
- Implicit
- This member is added by an implicit conversion from StackTraceOps toArrowAssoc[StackTraceOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.