atkinson.errors package¶
Subpackages¶
Submodules¶
atkinson.errors.dlrn module¶
Atkinson Dlrn Error Handling.
The error classes here are for errors that occur when interacting with dlrn and not errors in the atkinson application itself.
-
class
atkinson.errors.dlrn.DlrnFTBFSError(release, config, reporter, error_id=None)[source]¶ Bases:
atkinson.errors.BaseErrorDLRN Failing To Build From Source Error handler
Parameters: - release (str) – String name for the release the error was found
- config (dict) – Dictionary of configuration data for the reporter
- reporter (BaseReport) – A reporter to use for this error
- error_id (str) – An error report id to be used (Default None)
-
clear()[source]¶ Perform error clear actions. This may be updating logging or more advanced error clearing methods
-
id¶ Return the id for the error
-
message¶ The error massage to display
-
packages¶ The list packages that failed to build
Module contents¶
Base error class for Atkinson operations
Each of the errors atkinson can raise should use this base class. This will ensure that each error can be acted upon and has the needed properties
-
class
atkinson.errors.BaseError[source]¶ Bases:
abc.ABCAtkinson base error class
-
action()[source]¶ The action to take on this error. This make be logging or displaying an error to more advanced error handling
-
clear()[source]¶ Perform error clear actions. This may be updating logging or more advanced error clearing methods
-
message¶ The error message to use/log
-