Rename "blenderpack" module to "bpackage"
Also split code into files by class
This commit is contained in:
14
bpackage/exceptions.py
Normal file
14
bpackage/exceptions.py
Normal file
@@ -0,0 +1,14 @@
|
||||
class BadAddon(Exception):
|
||||
"""
|
||||
Raised when something expected to be an addon turns out not to be one after all
|
||||
"""
|
||||
|
||||
class RepositoryListError(ValueError):
|
||||
"""
|
||||
Raised when something is amiss with the repo.json file
|
||||
"""
|
||||
|
||||
class RepositoryNotFoundError(RepositoryListError):
|
||||
"""
|
||||
Raised when looking for a repository which isn't there
|
||||
"""
|
Reference in New Issue
Block a user