Skip to content

Internal Error Types

Back to Error Reference

Overview

The compiler uses several internal error categories that appear in JSON diagnostic output:

TypeSourceDescription
CompilerErrorValidation and semantic analysisStandard compilation errors with E-codes
IrGenerationIR lowering (Stage 5)Errors during IR generation with context
ManifestGenerationArtifact builder (Stage 8)Manifest permission policy violations
GenericVarious stagesCatch-all for unclassified errors

IR generation errors include additional context fields in JSON output:

json
{
  "component": "neo-devpack-solidity",
  "severity": "error",
  "type": "IrGeneration",
  "message": "unsupported feature: inline assembly",
  "functionName": "computeHash",
  "errorCode": "E3001",
  "suggestion": "Use CryptoLib.sha256() from the devpack instead"
}

MIT Licensed