honeyhive.utils.error_handler
Error types raised by HoneyHive SDK utilities.
ErrorResponse
dataclass
Standardized error response.
Source code in src/honeyhive/utils/error_handler.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
to_dict
Convert error response to dictionary.
Source code in src/honeyhive/utils/error_handler.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | |
HoneyHiveError
Bases: Exception
Base exception for HoneyHive errors.
Source code in src/honeyhive/utils/error_handler.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | |
error_response
instance-attribute
error_response = error_response
original_exception
instance-attribute
original_exception = original_exception
APIError
Bases: HoneyHiveError
API-related errors.
Source code in src/honeyhive/utils/error_handler.py
108 109 | |