You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
Updated AppError::database to accept Option<Cow<'static, str>>, allowing
bare None calls without type annotations, and added the helper AppError::database_with_message for the common message-bearing path.
Documentation
Refreshed the AppError::database docs to illustrate the new constructor
behavior and helper usage.
Tests
Expanded database constructor tests to cover both the helper and bare None
scenario.