File: exceptions.py

package info (click to toggle)
python-aptly 0.12.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 316 kB
  • sloc: python: 992; makefile: 14
file content (11 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
# -*- coding: utf-8 -*-


class AptlyException(Exception):
    def __init__(self, res, msg):
        Exception.__init__(self, msg)
        self.res = res


class NoSuchPublish(Exception):
    pass