File: errors.py

package info (click to toggle)
pystaticconfiguration 0.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 400 kB
  • sloc: python: 2,569; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
class ValidationError(Exception):
    """Thrown when a configuration value can not be coerced into the expected
    type by a validator.
    """
    pass


class ConfigurationError(Exception):
    """Thrown when there is an error loading configuration from a file or
    object.
    """
    pass