support other template engine

```javascript
onerror(app, {
  engine: 'jade'
});
```