MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / error

Method error

crates/chat-cli/src/cli/chat/parser.rs:635–640  ·  view source on GitHub ↗

Helper to create a new [RecvError] populated with the associated request id for the stream.

(&self, source: impl Into<RecvErrorKind>)

Source from the content-addressed store, hash-verified

633
634 /// Helper to create a new [RecvError] populated with the associated request id for the stream.
635 fn error(&self, source: impl Into<RecvErrorKind>) -> RecvError {
636 RecvError {
637 source: source.into(),
638 request_metadata: self.make_metadata(None),
639 }
640 }
641
642 fn make_metadata(&self, chat_conversation_type: Option<ChatConversationType>) -> RequestMetadata {
643 RequestMetadata {

Callers 2

parse_tool_useMethod · 0.45
nextMethod · 0.45

Calls 1

make_metadataMethod · 0.45

Tested by

no test coverage detected