Skip to content

请教:如何获得浮层模块-右下角提示信息里面的内容或者错误类型 #3543

Answered by erha19
hhh55555 asked this question in Q&A
Discussion options

You must be logged in to vote

@hhh55555 这块代码相关的逻辑在这里,你可以增加一个 Event ,后续可通过 Event 来进行后续处理,暂时框架内少处理了这种情况。

getDebugLogger().error(e);
resourceReady && resourceReady.reject();
if (!isEditorError(e, EditorTabChangedError)) {
this.messageService.error(formatLocalize('editor.failToOpen', uri.displayName, e.message), [], true);
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hhh55555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants