{"record":{"id":"c812f719a010e871","repo":"deepseek-ai/deepseek-harness","slug":"question-cancellation-rejected-receipt-reason","errorCode":null,"errorMessage":"question cancellation rejected: ${receipt.reason}","messagePattern":"question cancellation rejected: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/client/ui-user-questions/src/client/contract/slots.ts","lineNumber":130,"sourceCode":"   * @param answer - complete structured answer batch.\n   */\n  async answer(answer: QuestionAnswer): Promise<void> {\n    const receipt = await this.wait.respond({\n      ok: true, value: { sessionId: this.wait.sessionId, answer },\n    })\n    if (!receipt.accepted) {\n      throw new Error(`question response rejected: ${receipt.reason}`)\n    }\n  }\n\n  /** Reject the whole wait (the host resolves the tool call as cancelled); a rejected receipt throws. */\n  async cancel(): Promise<void> {\n    const receipt = await this.wait.respond({\n      ok: false,\n      error: { code: 'cancelled', message: 'the user closed this question request', details: {} },\n    })\n    if (!receipt.accepted) {\n      throw new Error(`question cancellation rejected: ${receipt.reason}`)\n    }\n  }\n}\n\n/**\n * Full component props: the framework runtime share (chain currency +\n * session/global standard kit) plus the chain `matched` share — the entry's\n * selector result, already narrowed to the question carrier — plus the\n * standard locale seat; the carrier plus the domain face above carry the\n * whole behavior surface.\n */\nexport type QuestionComposerProps =\n  PropsRuntime<'conversation.composer'> & { matched: QuestionWait } & PropsLocale<'question'>\n","sourceCodeStart":112,"sourceCodeEnd":144,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/ui-user-questions/src/client/contract/slots.ts#L112-L144","documentation":"Error \"question cancellation rejected: ${receipt.reason}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/ui-user-questions/src/client/contract/slots.ts:130 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the rejection reason for the cancellation and retry within the allowed contract."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}