Currently when a RecordFluxError is propagated it will raise an exception if it contains any element. This is also true if it only contains a warning or info message. However this should not cause an abort in the program.
Proposed solution
propagate does not raise an exception on info and warning messages. Additionally check will only return True if the error object contains error messages. This is required as check is used to determine whether an operation should abort due to previous errors.
Context and Problem Statement
Currently when a RecordFluxError is propagated it will raise an exception if it contains any element. This is also true if it only contains a warning or info message. However this should not cause an abort in the program.
Proposed solution
propagate
does not raise an exception on info and warning messages. Additionallycheck
will only returnTrue
if the error object contains error messages. This is required ascheck
is used to determine whether an operation should abort due to previous errors.