I see much discussion regarding content negotiation for errors and I look forward to that capability. Liberator is awesome and this coming feature will simply add to the power of this great tool.
In the meantime, I am struggling with using `as-response` to set custom headers on 2XX responses *and* handling errors like not `authorized?`. The `authorized?` decision point is executed before content negotiation, so my custom as-response can't simply call `liberator.representation/as-response`. But unfortunately, neither can I simple return the resource (the first parameter to the as-response function) directly. It results in the error ": No method in multimethod 'render-map-generic' for dispatch value: null".
Is it correct that if I implement `as-response` for my success cases, I also need to re-implement response generation for errors in that same function?