💡 Feature Description and Proposed Solution
Create an easy way to create and log errors as spans. This could be potentially BOTH a decorator and a standalone function. For example:
from agentops.sdk.decorators import error
@error
def log_error():
...
error()
OR
agentops.error(name="...", message="...")
🤔 Related Problem
No response
🤝 Contribution
💡 Feature Description and Proposed Solution
Create an easy way to create and log errors as spans. This could be potentially BOTH a decorator and a standalone function. For example:
OR
🤔 Related Problem
No response
🤝 Contribution