File: errors.py

package info (click to toggle)
forensic-artifacts 20161022-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 572 kB
  • ctags: 189
  • sloc: python: 1,165; makefile: 50; sh: 47
file content (18 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
"""The error objects."""


class Error(Exception):
  """The error interface."""


class FormatError(Error):
  """Error that is raised when the format is incorrect."""


class MissingDependencyError(Error):
  """Artifact references artifact that is undefined."""


class CodeStyleError(Error):
  """Error that is raised when code formatting fails style checks."""