The ceilometer.api.middleware Module

Middleware to replace the plain text message body of an error response with one formatted so the client can parse it.

Based on pecan.middleware.errordocument

class ceilometer.api.middleware.ParsableErrorMiddleware(app)[source]

Bases: object

Replace error body with something the client can parse.

Previous topic

The ceilometer.api.hooks Module

Next topic

The ceilometer.api.v1.acl Module

This Page