warnings

Full name: ase2sprkkr.common.warnings

Module class hierarchy

Inheritance diagram of ase2sprkkr.common.warnings.InvalidValuePolicy


Description

This module implement simple class that encapsulates the warning about non-critical errors (or just suspicious data) in configuration/data files.

Functions

catch_warnings_of(category)

Record warnings of category without swallowing other warnings.

Classes

InvalidValuePolicy(why[, retain_invalid, ...])

Retention and reporting policy for invalid proposed values.

Exceptions

DataValidityError

Errors of this class will be considered to be 'Errors'.

DataValidityErrors(message, exceptions)

An exception group containing at least one validity error.

DataValidityWarning

This Warning should be issued, if there are some invalid data or format problems, that should not yield a "hard error" which would prevent parsing the data.

ValidationResult

Base class for issues returned by semantic validators.