Commit 2ada1b23 authored by Vincent Pelletier's avatar Vincent Pelletier

extensions: Use intended base exception class.

parent 896a3462
......@@ -20,16 +20,16 @@ class CertificateAuthorityException(Exception):
"""Base exception"""
pass
class NoStorage(Exception):
class NoStorage(CertificateAuthorityException):
"""No space in storage"""
pass
class NotFound(Exception):
class NotFound(CertificateAuthorityException):
"""Requested resource does not exist"""
pass
class Found(Exception):
class Found(CertificateAuthorityException):
"""Requested ID is already in use"""
class BadSignature(Exception):
class BadSignature(CertificateAuthorityException):
"""Non-x509 signature check failed"""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment