MCPcopy Create free account
hub / github.com/DSGWJQ/Feagent / ErrorMessage

Function ErrorMessage

web/src/shared/components/StreamingMessageDisplay.tsx:180–198  ·  view source on GitHub ↗
({ content, metadata })

Source from the content-addressed store, hash-verified

178 content: string;
179 metadata: { error_code?: string; recoverable?: boolean };
180}> = ({ content, metadata }) => (
181 <Alert
182 type="error"
183 showIcon
184 icon={<WarningOutlined />}
185 message={
186 <Space>
187 <span>❌ 错误</span>
188 {metadata.error_code && (
189 <Tag color="red" style={{ fontSize: '10px' }}>
190 {metadata.error_code}
191 </Tag>
192 )}
193 </Space>
194 }
195 description={content}
196 className={styles.errorMessage}
197 />
198);
199
200/**
201 * 流式加载指示器

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected