gfw-api/forest-change-analysis-elastic

View on GitHub
gladanalysis/errors.py

Summary

Maintainability
A
0 mins
Test Coverage
C
75%
class Error(Exception):

    def __init__(self, message):
        self.message = message

    @property
    def serialize(self):
        return {
            'message': self.message
        }


class GeostoreNotFound(Error):
    pass