object StackTrace
Conversions of JavaScript stack traces to Java stack traces.
- Alphabetic
- By Inheritance
- StackTrace
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
ColumnStackTraceElement
extends AnyRef
Implicit class to access magic column element created in STE
- trait JSStackTraceElem extends Object
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
captureState(throwable: Throwable, e: Any): Unit
Captures browser-specific state recording the stack trace of a JS error.
Captures browser-specific state recording the stack trace of a JS error. The state is stored as a magic field of the throwable, and will be used by
extract()
to create an Array[StackTraceElement].- Annotations
- @inline()
-
def
captureState(throwable: Throwable): Unit
Captures browser-specific state recording the current stack trace.
Captures browser-specific state recording the current stack trace. The state is stored as a magic field of the throwable, and will be used by
extract()
to create an Array[StackTraceElement].- Annotations
- @inline()
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
extract(stackdata: js.Dynamic): Array[StackTraceElement]
Extracts a stack trace from captured browser-specific stackdata.
Extracts a stack trace from captured browser-specific stackdata. If no stack trace state has been recorded, or if the state cannot be analyzed in meaningful way (because we don't know the browser), an empty array is returned.
-
def
extract(throwable: Throwable): Array[StackTraceElement]
Extracts a throwable's stack trace from captured browser-specific state.
Extracts a throwable's stack trace from captured browser-specific state. If no stack trace state has been recorded, or if the state cannot be analyzed in meaningful way (because we don't know the browser), an empty array is returned.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getCurrentStackTrace(): Array[StackTraceElement]
Returns the current stack trace.
Returns the current stack trace. If the stack trace cannot be analyzed in meaningful way (because we don't know the browser), an empty array is returned.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Implicits
- object JSStackTraceElem