~canonical-platform-qa/uci-config/py3-items

« back to all changes in this revision

Viewing changes to uciconfig/errors.py

  • Committer: Vincent Ladeuil
  • Date: 2014-02-15 16:49:46 UTC
  • Revision ID: vila+ci@canonical.com-20140215164946-ucjn2xiw6k0wcw8k
Support a specific MANDATORY default value for options that must be set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
        self.value = value
96
96
 
97
97
 
 
98
class OptionMandatoryValueError(OptionError):
 
99
 
 
100
    fmt = '{name} must be set.'
 
101
 
 
102
 
98
103
class StackError(ConfigError):
99
104
    """Base class for stack related errors."""
100
105