anchor.diff:    int get severity => error.errorCode.errorSeverity.ordinal;
     String get severityName => error.errorCode.errorSeverity.displayName;
     String get message => error.message;
  -  String get description => '${message} at ${location}, line ${line}.';
  +  String get messageSentenceFragment {
  +    String m = message;
  +    return m.endsWith('.') ? m.substring(0, m.length - 1) : m;
  +  }
  +  String get code => error.errorCode.name.toLowerCase();
  +
  +  String get description => '${messageSentenceFragment} at ${location}, line ${line} ($code).';
  +
     int get line => lineInfo.getLocation(error.offset).lineNumber;
   
     String get location {
  
positive.code:       packages = _discoverPackagespec(project.dir);
        resolvers.add(new SdkExtUriResolver(_createPackageFilePackageMap(packages)));
      } else if (project.packageDir.existsSync()) {
        new PackageUriResolver([new JavaFile(project.packagePath)]);
        resolvers.add(new SdkExtUriResolver(_createPackagesFolderPackageMap(project)));
      }
  
negative.code: import 'package:analyzer/source/sdk_ext.dart';
  import 'package:analyzer/src/dart/sdk/sdk.dart';
  import 'package:analyzer/src/generated/engine.dart';
  import 'package:analyzer/src/generated/error.dart'; // ignore: deprecated_member_use
  import 'package:analyzer/src/generated/java_io.dart';
  import 'package:analyzer/src/generated/sdk.dart';
  import 'package:analyzer/src/generated/source.dart';
  