mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-27 10:13:11 -05:00
fix: dash slug names (#5709)
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
144d4caea6
commit
107dfc34de
@@ -22,6 +22,14 @@ class PermissionDenied(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class SlugError(Exception):
|
||||
"""
|
||||
This exception is raised when the recipe name generates an invalid slug.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class NoEntryFound(Exception):
|
||||
"""
|
||||
This exception is raised when a user tries to access a resource that does not exist.
|
||||
|
||||
Reference in New Issue
Block a user