You've already forked akaunting-py
Basic API Call complete with exceptions/tests
This commit is contained in:
@@ -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_
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user