Files
2026-02-25 00:50:23 +05:30

18 lines
483 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatFatalError = void 0;
function formatFatalError(message) {
return JSON.stringify({
errors: [
{
type: 'JSONError',
component: 'solcjs',
severity: 'error',
message: message,
formattedMessage: 'Error: ' + message
}
]
});
}
exports.formatFatalError = formatFatalError;