MVVM icon indicating copy to clipboard operation
MVVM copied to clipboard

Rename the constant 'CustomError' so that it scans better when qualified with the class name

Open FullValueRider opened this issue 4 years ago • 0 comments

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

FullValueRider avatar Aug 20 '21 14:08 FullValueRider