A string substitution required a setting which was not available.
| 270 | |
| 271 | |
| 272 | class InterpolationMissingOptionError(InterpolationError): |
| 273 | """A string substitution required a setting which was not available.""" |
| 274 | |
| 275 | def __init__(self, option, section, rawval, reference): |
| 276 | msg = ("Bad value substitution: option {!r} in section {!r} contains " |
| 277 | "an interpolation key {!r} which is not a valid option name. " |
| 278 | "Raw value: {!r}".format(option, section, reference, rawval)) |
| 279 | InterpolationError.__init__(self, option, section, msg) |
| 280 | self.reference = reference |
| 281 | self.args = (option, section, rawval, reference) |
| 282 | |
| 283 | |
| 284 | class InterpolationSyntaxError(InterpolationError): |
no outgoing calls
no test coverage detected
searching dependent graphs…