Skip to content

CRARCH0001 Exception type naming

  • Category: Architecture
  • Default severity: Warning
  • Diagnostic ID: CRARCH0001

Exception types must use domain terminology and avoid the generic Exception suffix.

Exception type '{0}' must not end with 'Exception'

Rename the exception type to a domain-focused name, such as AuthorNotFound instead of AuthorNotFoundException.