anchor.diff:  
     @override
     ErrorSeverity get errorSeverity => type.severity;
  +
  +  @override
  +  ErrorType get type => ErrorType.COMPILE_TIME_ERROR;
   }
  
positive.code:     bool hasPublishedDocs = false,
      required String message,
      required String name,
      ErrorType type = ErrorType.COMPILE_TIME_ERROR,
      String? uniqueName,
    })  : type = type,
          super(
            correction: correction,
            hasPublishedDocs: hasPublishedDocs,
            message: message,
  
negative.code:     correction: "Try extending 'Struct' or 'Union' directly.",
      uniqueName: 'SUBTYPE_OF_STRUCT_CLASS_IN_WITH',
    );
  
    /// Initialize a newly created error code to have the given [name]. If
    /// [uniqueName] is provided, then it will be used to construct the unique
  