Standardize exception message style and failure taxonomy across the PKI module #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The codebase already trends toward concise exception messages, but message style and failure taxonomy are not fully uniform. Some messages are phrased as internal diagnostics, others as user-facing validation errors, and some still use inconsistent punctuation or wording. This showed up across multiple classes during review.
Why this matters
For a professional PKI foundation, failures should be consistent, reviewable, and easy to map into audit records, logs, and external service responses.
Acceptance criteria