import { i32, Option, Value, Vec } from "./_commons"; export interface JSError { /** * Frames is the array of javascript stack frames. The array is ordered with * deepest call first * Renamed to stack_frames in metroplex */ frames: Vec; /** * Message is the javascript error message found in collect * Maximum length accepted is 1024 * Renamed to message in metroplex */ msg: string; /** Any related causes, for example if an error was caused by a click this would have \[userstep] event in it */ cause?: Option; } export interface JSStackFrame { /** * The line number in the file for this frame * Renamed to line_number in metroplex */ line: string; /** The column of the error in the file */ column?: Option; /** * The name of the file for this frame * Maximum length accepted is 1024 * Renamed to file_name in metroplex */ file: string; /** * The method name for this frame * Maximum length accepted is 1024 * Renamed to method_name in metroplex */ mname: string; }