convertErrorType method
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);