jsstacktrace

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 9 Imported by: 0

README

jsstacktrace

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleParse

func ExampleParse()

Types

type JSMap

type JSMap struct {
	// contains filtered or unexported fields
}

func NewJSMap

func NewJSMap(baseDir string) *JSMap

func (*JSMap) ConvertFrame

func (m *JSMap) ConvertFrame(stackFrame StackFrame) StackFrame

func (*JSMap) ConvertStackTrace

func (m *JSMap) ConvertStackTrace(stackTrace StackTrace) StackTrace

func (*JSMap) ConvertStackTraceString

func (m *JSMap) ConvertStackTraceString(stackTrace string) string

type StackFrame

type StackFrame struct {
	Url      string
	Line     int
	Column   int
	Function string
}

func StackFrameFromString

func StackFrameFromString(s string) *StackFrame

func (*StackFrame) String

func (sf *StackFrame) String() string

type StackTrace

type StackTrace []StackFrame

func ParseStackTrace

func ParseStackTrace(s string) StackTrace

func (StackTrace) String

func (s StackTrace) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL