# -*- coding: utf-8 -*-
#   *******************************************************
#   amieci - python client for amie.ai
#
#   Sign up for free at http://www.amie.ai
#   Copyright (C) 2017-2019 amie ivs
#   This file can not be copied and/or distributed without the express
#   permission of amie ivs.
#   *******************************************************


"""
Author: Giulio Ungaretti

This module contains exceptions generated by amieci

"""

class ApiKeyNotFound(Exception):
    pass

class CurrentTreeNotSet(Exception):
    pass

class CurrentTreeNotSaved(Exception):
    pass

class CurrentLeafNotSaved(Exception):
    pass


class LeafAlreadySaved(Exception):
    pass

class LeafDoesNotExist(KeyError):
    pass

class TreeAlreadySaved(Exception):
    pass

class TreeNotValid(Exception):
    pass

class LeafNotValid(Exception):
    pass

class MismatchedParent(Exception):
    pass

class DatafileNotValid(Exception):
    pass
