Initialize a newly created severity with the given names.
const ErrorSeverity( this.name, this.ordinal, this.machineCode, this.displayName);