forked from TrueCloudLab/frostfs-testlib
10 lines
203 B
Python
10 lines
203 B
Python
|
import traceback
|
||
|
|
||
|
|
||
|
def format_error_details(error: Exception) -> str:
|
||
|
return "".join(traceback.format_exception(
|
||
|
etype=type(error),
|
||
|
value=error,
|
||
|
tb=error.__traceback__)
|
||
|
)
|