APIinterface ErrorFrame {error: string;stacktrace?: string;type: "error";}errorstringstacktracestringtype'error'