Skip to main content
Version: 3x

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

NameTypeDescription
fileUrlstringA 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

NameTypeDescription
fileUrlstringA 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

NameTypeDescription
frameStackFrameStack frame to check.

Returns

boolean

Defined in

plugins/symbolicate/types.ts:70