({ error })
| 918 | } |
| 919 | |
| 920 | sendError({ error }) { |
| 921 | this.sendUpdateNotification({ |
| 922 | type: "eleventy.error", |
| 923 | // Thanks https://stackoverflow.com/questions/18391212/is-it-not-possible-to-stringify-an-error-using-json-stringify |
| 924 | error: JSON.stringify(error, Object.getOwnPropertyNames(error)), |
| 925 | }); |
| 926 | } |
| 927 | |
| 928 | // reverse of mapUrlToFilePath |
| 929 | // /resource/ <= /resource/index.html |
nothing calls this directly
no test coverage detected