git ssb

16+

Dominic / patchbay



Tree: b1d27bb56f4c964bcfc04597ab5026aaaa9b57d5

Files: b1d27bb56f4c964bcfc04597ab5026aaaa9b57d5 / main / html / error.js

302 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3
4exports.gives = nest('main.html.error')
5
6exports.create = function (api) {
7 return nest('main.html.error', error)
8
9 function error (err) {
10 return h('Error', [
11 h('header', err.message),
12 h('pre', err.stack)
13 ])
14 }
15}
16
17

Built with git-ssb-web