///
///
import { ErrorCode } from '../../Constants';
export declare class StackTraceV3Response {
static fromJson(data: {
requestId: number;
entries: StackEntry[];
}): StackTraceV3Response;
static fromBuffer(buffer: Buffer): StackTraceV3Response;
toBuffer(): Buffer;
success: boolean;
readOffset: number;
data: {
/**
* An array of StrackEntry structs. entries[0] contains the last function called;
* entries[stack_size-1] contains the first function called.
* Debugging clients may reverse the entries to match developer expectations.
*/
entries: StackEntry[];
packetLength: number;
requestId: number;
errorCode: ErrorCode;
};
}
export interface StackEntry {
/**
* The line number where the stop or failure occurred.
*/
lineNumber: number;
/**
* The function where the stop or failure occurred.
*/
functionName: string;
/**
* The file where the stop or failure occurred.
*/
filePath: string;
}