public bool equals(ErrorClass errorClass, ErrorCode errorCode)
 {
     return(ErrorClass.Equals(errorClass) && ErrorCode.Equals(errorCode));
 }