CaputConfigError#

exception caput.config.CaputConfigError(message: str, file_: str | None = None, location: _line_dict | None = None)[source]#

Bases: RuntimeError

There was an error in the configuration.

Parameters:
messagestr

Message / description of error

file_str | None, optional

Configuration file name.

location_line_dict | None, optional

If using SafeLineLoader is used, a dict created by that can be passed in here to report the line number where the error occurred.

Methods#

__str__(→ str)

Return str(self).