move the exceptions out of apibase.py; add new exceptions for DuplicateKey, missingKey, etc
2 files changed