Stackframe

class Stackframe : JsonStream.Streamable

Represents a single stackframe from a Throwable

Constructors

Stackframe
Link copied to clipboard
fun Stackframe(nativeFrame: NativeStackframe)

Functions

toStream
Link copied to clipboard
open override fun toStream(writer: JsonStream)

Properties

code
Link copied to clipboard
var code: Map<String, String?>?
Lines of the code surrounding the frame, where the lineNumber is the key (React Native only)
columnNumber
Link copied to clipboard
var columnNumber: Number?
The column number of the frame (React Native only)
file
Link copied to clipboard
var file: String?
The location of the source file
inProject
Link copied to clipboard
var inProject: Boolean?
Whether the package is considered to be in your project for the purposes of grouping and readability on the Bugsnag dashboard.
lineNumber
Link copied to clipboard
var lineNumber: Number?
The line number within the source file this stackframe refers to
method
Link copied to clipboard
var method: String?
The name of the method that was being executed
type
Link copied to clipboard
var type: ErrorType? = null
The type of the error