ErrorCode typedef

  1. @AnalyzerPublicApi(message: 'exported by package:analyzer/error/error.dart')
  2. @Deprecated("Use 'DiagnosticCode' instead.")
ErrorCode = DiagnosticCode

A diagnostic code associated with an AnalysisError.

Generally, messages should follow the Guide for Writing Diagnostics.

Implementation

@AnalyzerPublicApi(message: 'exported by package:analyzer/error/error.dart')
@Deprecated("Use 'DiagnosticCode' instead.")
typedef ErrorCode = DiagnosticCode;