Errors

These errors are all importable from delfick_project.norms

For example:

exception delfick_project.norms.errors.BadSpec(message='', **kwargs)

Bases: delfick_project.errors.DelfickError

desc = 'Something wrong with this specification'
exception delfick_project.norms.errors.BadSpecValue(message='', **kwargs)

Bases: delfick_project.norms.errors.BadSpec

desc = 'Bad value'
exception delfick_project.norms.errors.BadDirectory(message='', **kwargs)

Bases: delfick_project.norms.errors.BadSpecValue

desc = 'Expected a path to a directory'
exception delfick_project.norms.errors.BadFilename(message='', **kwargs)

Bases: delfick_project.norms.errors.BadSpecValue

desc = 'Expected a path to a filename'
exception delfick_project.norms.errors.DeprecatedKey(message='', **kwargs)

Bases: delfick_project.norms.errors.BadSpecValue

desc = 'Key is deprecated'
exception delfick_project.norms.errors.BadSpecDefinition(message='', **kwargs)

Bases: delfick_project.norms.errors.BadSpecValue

desc = "Spec isn't defined so well"