Basic API Call complete with exceptions/tests

This commit is contained in:
2022-05-16 10:46:34 +12:00
parent eaf59856d3
commit 631241bafb
14 changed files with 628 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
class Error(Exception):
"""
An unspecified error.
"""
class MissingPermission(Error):
"""
Missing permission when calling the API.
"""
class InvalidData(Error):
"""
Missing Data required for request
Args:
Error (_type_): _description_
"""