Skip to content

Commit a0eaf80

Browse files
committed
chore: Include express in tagify syntax error message
1 parent 6a6d508 commit a0eaf80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shiny/ui/_theme.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,9 @@ def _html_dependency(self) -> HTMLDependency:
479479
def tagify(self) -> None:
480480
raise SyntaxError(
481481
"The `Theme` class is not meant to be used as a standalone HTML tag. "
482-
"Instead, pass the `Theme` object directly to the `theme` argument of any "
483-
"Shiny page function.",
482+
"Instead, pass the `Theme` object directly to the `theme` argument of "
483+
"`shiny.express.ui.page_opts()` (Shiny Express) "
484+
"or any `shiny.ui.page_*()` function (Shiny Core)."
484485
)
485486

486487

0 commit comments

Comments
 (0)