Interface: SymbolicatorDelegate

Delegate with implementation for symbolication functions.

Table of contents

Methods

Methods

getSource

getSource(fileUrl): Promise<string | Buffer>

Get source code of file in the URL.

Parameters

Name Type Description
fileUrl string A full URL pointing to a file.

Returns

Promise<string | Buffer>

Defined in

plugins/symbolicate/types.ts:54


getSourceMap

getSourceMap(fileUrl): Promise<string | Buffer>

Get source map for the file in the URL.

Parameters

Name Type Description
fileUrl string A full (usually http:) URL pointing to a compiled file. The URL points to a file for which to return source map, not to the source map file itself, e.g: http://localhost:8081/index.bundle?platform=ios.

Returns

Promise<string | Buffer>

Defined in

plugins/symbolicate/types.ts:63


shouldIncludeFrame

shouldIncludeFrame(frame): boolean

Check if given stack frame should be included in the new symbolicated stack.

Parameters

Name Type Description
frame StackFrame Stack frame to check.

Returns

boolean

Defined in

plugins/symbolicate/types.ts:70