Source code for metlog.exceptions

# ***** BEGIN LICENSE BLOCK *****
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
# ***** END LICENSE BLOCK *****

from ConfigParser import Error


[docs]class EnvironmentNotFoundError(Error): """Raised when an environment variable is not found""" def __init__(self, varname): Error.__init__(self, 'Variable not found %r' % varname) self.varname = varname
[docs]class MethodNotFoundError(Error): """Raised when a method lookup fails""" pass
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.