8 lines
324 B
Python
8 lines
324 B
Python
from __future__ import annotations
|
||
|
||
|
||
class ExpenseClaimSubmissionBlockedError(ValueError):
|
||
def __init__(self, issues: list[str]) -> None:
|
||
self.issues = [str(issue or "").strip() for issue in issues if str(issue or "").strip()]
|
||
super().__init__("提交前请先补全信息:" + ";".join(self.issues))
|