aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/utils/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/utils/console.py')
-rw-r--r--src/mlia/utils/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mlia/utils/console.py b/src/mlia/utils/console.py
index 57e3ba2..1f432fb 100644
--- a/src/mlia/utils/console.py
+++ b/src/mlia/utils/console.py
@@ -77,7 +77,7 @@ def _get_table(table_style: str) -> Table:
if table_style == "no_borders":
return Table(show_header=False, box=None)
- raise Exception(f"Unsupported table style {table_style}")
+ raise ValueError(f"Table style {table_style} is not supported.")
def _convert_to_text(*renderables: RenderableType) -> str: