test(config-audit): add marketplace-small/medium/large scanner fixtures

This commit is contained in:
Kjell Tore Guttormsen 2026-04-19 22:36:33 +02:00
commit 0c2aa0f0c2
14 changed files with 222 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Shared Error-Handling Patterns
- Subclass `Error` with typed messages
- Never swallow errors silently
- Prefer `Result<T, E>` return types in business logic
- Log only at boundaries, never inside pure functions
- Validate inputs only at the system edge
- Treat all third-party API responses as untrusted input
- Bail early on contract violations rather than degrading silently