pugjs / pug-error

Standard error objects for pug
MIT License
1 stars 3 forks source link

Add a toJSON method to the error object #4

Closed TimothyGu closed 9 years ago

TimothyGu commented 9 years ago

Simplifies JSON.stringify(err).

TimothyGu commented 9 years ago

One most often would not want to include the big and bulky src in the JSON file.