Expand description
Contains error and result types for all the chatbot functions.
Macros§
- chatbot_
err 🔒 - Create a ChatbotError with less boilerplate.
Structs§
- Chatbot
Error - Error type used in ChatbotError, which is used for errors related to chatbot functionality.
Enums§
- Chatbot
Error Type - The type of ChatbotError that occured.
Functions§
- as_
chatbot_ error - Helper function for
.map_err()chains to wrap any error as ChatbotError. - missing_
chatbot_ error - Helper function for
.ok_or_else()to create ChatbotError on None.
Type Aliases§
- Chatbot
Result - Used as the result types for all of chatbot.