MCPcopy Create free account
hub / github.com/coordinape/coordinape / ErrorFrame

Function ErrorFrame

api-lib/frames/ErrorFrame.tsx:50–68  ·  view source on GitHub ↗
(message?: string)

Source from the content-addressed store, hash-verified

48};
49
50export const ErrorFrame = (message?: string): Frame => ({
51 id: 'error_frame',
52 homeFrame: false,
53 imageNode: ErrorFrameImage,
54 errorMessage: message,
55 resourceIdentifier: staticResourceIdentifier,
56 buttons: [
57 {
58 title: 'How 2 Party?',
59 action: 'post',
60 onPost: async () => PartyHelpFrame(),
61 },
62 {
63 title: 'Try @givebot',
64 action: 'link',
65 target: TRY_GIVEBOT_INTENT,
66 },
67 ],
68});

Callers 3

onPostFunction · 0.90
onPostFunction · 0.90
router.tsxFile · 0.90

Calls 1

PartyHelpFrameFunction · 0.90

Tested by

no test coverage detected