def build_response(cls, code=Status.SYSTEM_ERROR, errors=None):
        """Utility method to build a new Resource Error object.
        Can be used to build all kinds of error messages.
        """
        errors = [errors] if not isinstance(errors, list) else errors
        return cls(code, errors)