Exceptions
This module contains functionality related to the the exceptions
module for augmentation.chainlit
.
Exceptions
TraceNotFoundException
Bases: Exception
Exception raised when a trace for a given message ID cannot be found.
This exception is typically thrown when attempting to access or manipulate a trace using a message ID that doesn't exist in the system. It helps in handling missing trace scenarios gracefully.
Source code in src/augmentation/chainlit/exceptions.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
__init__(message_id)
Initialize the TraceNotFoundException with the specified message ID.
This constructor creates a formatted error message that includes the missing message ID for better error reporting and debugging.
Parameters: |
|
---|
Source code in src/augmentation/chainlit/exceptions.py
9 10 11 12 13 14 15 16 17 18 19 20 21 |
|