MVVM
MVVM copied to clipboard
Rename the constant 'CustomError' so that it scans better when qualified with the class name
Would it be worth renaming the constant 'CommonError' to one which scans better when the constant is qualified.
e.g. rather than
CommonErrors.CommonError
to have
CommonErrors.Base
as an example
Public Enum GuardClauseErrors
InvalidFromNonDefaultInstance = CustomErrors.Base + 1
InvalidFromDefaultInstance
ObjectAlreadyInitialized
ObjectCannotBeNothing
StringCannotBeEmpty
End Enum