raise error

in serverless docker how can i raise an error at an api endpoint for runpod to work properly
2 Replies
nerdylive
nerdylive3mo ago
Read the docs something about returning with error object inside it Returning an error object
digigoblin
digigoblin3mo ago
error field has to be a str, and then the details can go into output field.