convertErrorType method

AnalysisErrorType convertErrorType(
  1. ErrorType type
)

Convert the error type from the 'analyzer' package to an analysis error type defined by the plugin API.

Implementation

plugin.AnalysisErrorType convertErrorType(analyzer.ErrorType type) =>
    plugin.AnalysisErrorType(type.name);