From 775ce31fa3c6ccecb42f3f1c759f476cc9b6f06f Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 29 Aug 2023 16:11:01 -0700 Subject: [PATCH] update docs --- docs/my-website/docs/exception_mapping.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/my-website/docs/exception_mapping.md b/docs/my-website/docs/exception_mapping.md index 654e3146350..a8a7ee3741b 100644 --- a/docs/my-website/docs/exception_mapping.md +++ b/docs/my-website/docs/exception_mapping.md @@ -8,6 +8,8 @@ LiteLLM maps the 4 most common exceptions across all providers. Base case - we return the original exception. +All our exceptions inherit from OpenAI's exception types, so any error-handling you have for that, should work out of the box with LiteLLM. + For all 4 cases, the exception returned inherits from the original OpenAI Exception but contains 3 additional attributes: * status_code - the http status code of the exception * message - the error message