klein icon indicating copy to clipboard operation
klein copied to clipboard

Use KleinResource, or a subset thereof, in the error handling pipeline

Open wsanchez opened this issue 9 years ago • 0 comments

In https://github.com/twisted/klein/pull/139#pullrequestreview-15010666, glyph noted that it may be preferable to reuse code from KleinResource, possible the entire class when handling errors so that we have full consistency in how return values from methods decorated with handle_errors and route are rendered.

wsanchez avatar Jan 04 '17 04:01 wsanchez