(message?: string)
| 48 | }; |
| 49 | |
| 50 | export 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 | }); |
no test coverage detected