Problem
SecuScan needs a production-grade improvement in this area: Error response consistency..
Scope
Adopt a shared error schema with code, message, field path, request_id, and remediation hint across core endpoints.
Acceptance Criteria
- The implementation is focused and does not introduce unrelated UI, docs, lockfile, or formatting churn.
- Security-sensitive behavior has explicit negative tests where applicable.
- Existing tests continue to pass, and new tests cover the main success and failure paths.
- Documentation or configuration examples are updated when operator behavior changes.
Verification
Tests should snapshot validation/auth/not-found/conflict responses and ensure legacy string-only errors are removed.
Difficulty
Hard, useful issue intended for experienced contributors.
Problem
SecuScan needs a production-grade improvement in this area: Error response consistency..
Scope
Adopt a shared error schema with code, message, field path, request_id, and remediation hint across core endpoints.
Acceptance Criteria
Verification
Tests should snapshot validation/auth/not-found/conflict responses and ensure legacy string-only errors are removed.
Difficulty
Hard, useful issue intended for experienced contributors.