MCPcopy Create free account
hub / github.com/DTStack/Taier / error

Method error

taier-ui/src/components/notification/index.tsx:68–85  ·  view source on GitHub ↗

* Open a notification both in antd and molecule in bottomRight with danger icon

({ key, message }: { key: string; message: string })

Source from the content-addressed store, hash-verified

66 * Open a notification both in antd and molecule in bottomRight with danger icon
67 */
68 error({ key, message }: { key: string; message: string }) {
69 this.openWithMolecule({
70 key,
71 message: (
72 <>
73 <CloseCircleOutlined
74 style={{
75 color: 'var(--editorError-foreground)',
76 marginRight: 5,
77 }}
78 />
79 <span id={key} title={message}>
80 {message}
81 </span>
82 </>
83 ),
84 });
85 }
86
87 success({ key, message }: { key: string; message: string }) {
88 this.openWithMolecule({

Callers 15

mainMethod · 0.45
getSyncJobMethod · 0.45
parseLineageMethod · 0.45
sqlFormatMethod · 0.45
parseSqlMethod · 0.45
parseTablesMethod · 0.45
parseTableLineageMethod · 0.45
handleDownloadMethod · 0.45
getResourcesFromFilesMethod · 0.45
convertJsonOverBackMethod · 0.45
getDayStrMethod · 0.45
getDayOfWeekStrMethod · 0.45

Calls 1

openWithMoleculeMethod · 0.95

Tested by 2

toStringMethod · 0.36
mainMethod · 0.36