Add JavaScript manager.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-04-05 03:29:28 -04:00
parent 94bdea3c69
commit b7b1a87f23
8 changed files with 197 additions and 1 deletions

View File

@@ -14,3 +14,11 @@ class NotLatestVersion(BaseCommonException):
"""
def __init__(self, upstream_version):
self.upstream_version = upstream_version
class NPMException(BaseCommonException):
"""Base exception for the NPM registry client"""
class NPMPackgeIntegrityError(NPMException):
"""Hash mismatch exception"""