feat: add profiel required exception; add spans to post

This commit is contained in:
firedotguy
2026-02-13 22:38:28 +03:00
parent b3b109613b
commit 6edc40308a
3 changed files with 22 additions and 8 deletions

View File

@@ -129,4 +129,8 @@ class NotMultipleChoice(Exception):
class EmptyOptions(Exception):
def __str__(self) -> str:
return 'Options cannot be empty (pre-validation)'
return 'Options cannot be empty (pre-validation)'
class ProfileRequired(Exception):
def __str__(self) -> str:
return 'No profile. Please create your profile first'