bzurkowski/boil

View on GitHub
boil/plates/flask-api/templates/flask_api/flask_api/exceptions.py

Summary

Maintainability
A
1 hr
Test Coverage
class FlaskApiError(Exception):

    message = "An unknown exception occurred."

    def __init__(self, **kwargs):
        msg = self.message % kwargs
        super(FlaskApiError, self).__init__(msg)