create_message#

langchain_core.exceptions.create_message(*, message: str, error_code: ErrorCode) str[source]#

Create a message with a link to the LangChain troubleshooting guide.

Parameters:
  • message (str) – The message to display.

  • error_code (ErrorCode) – The error code to display.

Return type:

str