Skip to content

Make ErrorDomain a unique enumeration

Raoul Hidalgo Charman requested to merge raoul/unique-error-domains into master

Description

ErrorDomain had both PROG_NOT_FOUND and APP under 12, which led to some confusion when I was printing error domains and getting PROG_NOT_FOUND when it should have been showing APP.

Changes proposed in this merge request:

  • Changed PROG_NOT_FOUND to 16
  • Add @unique decorator to stop this happening again.

Merge request reports