MCPcopy Create free account
hub / github.com/argotorg/solidity / formatFatalError

Function formatFatalError

libsolidity/interface/StandardCompiler.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83Json formatFatalError(Error::Type _type, std::string const& _message)
84{
85 Json output;
86 output["errors"] = Json::array();
87 output["errors"].emplace_back(formatError(_type, "general", _message));
88 return output;
89}
90
91Json formatSourceLocation(SourceLocation const* location)
92{

Callers 9

checkKeysFunction · 0.85
checkOptimizerDetailFunction · 0.85
checkMetadataKeysFunction · 0.85
checkOutputSelectionFunction · 0.85
parseOptimizerSettingsFunction · 0.85
parseInputMethod · 0.85
importEVMAssemblyMethod · 0.85
compileMethod · 0.85

Calls 1

formatErrorFunction · 0.85

Tested by

no test coverage detected