Add support for error response plugins

The Bottle plugin framework only applies to normal responses.

Build on that by monkey-patching the Bottle error handler with
a new one that makes a series of callbacks.

Update the existing plugins such that where appropriate they
can apply their logic to error responses in addition to normal
responses as they already do.

Change-Id: Ifc2bac0e5120a3b0475f3b78f8bd822711f9c736
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed
tree: 441c80482f4b5cdeb125ec9e8c75e454ce2d3647
  1. module/
  2. servers/
  3. LICENSE