UNPKG

secret-polar-reworks

Version:

Polar is a development environment to compile, deploy, test, run scrt contracts on different networks.

9 lines (6 loc) 218 B
const fs = require('fs') async function run (runtimeEnv) { fs.appendFileSync('output.txt', 'failing script: before exception') throw new Error('Error originating from script') } module.exports = { default: run }