18 lines
483 B
JavaScript
Raw Permalink Normal View History

2024-10-15 23:05:53 +03:00
"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;