Extract exception strings into constants
What does this MR do and why?
Approved and merged a Community contribution earlier today and asked a nit about SBOM vs sbom. This MR tidies up an existing usage of sbom, extracts the exception messages into constants, and does some minor cleanup to get a section of the spec into Gitlab style.