We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 680d090 commit 6060fadCopy full SHA for 6060fad
src/core/ydata/core/error/fabric_error.py
@@ -19,9 +19,12 @@ class FabricError(Exception):
19
def __init__(
20
self,
21
context: Optional[dict[str, str]] = None,
22
+ description: Optional[str] = None,
23
http_code: Optional[int] = None,
24
name: Optional[str] = None):
25
self.context = context
26
+ if description:
27
+ self.description = description
28
if http_code:
29
self.http_code = http_code
30
self.name = name
0 commit comments