BaseAssertionError#

exception safir.metrics.BaseAssertionError(expected, actual, actual_models)#

Bases: ABC, AssertionError, Generic

Base assertion error with common attributes and messaging.

Parameters:
abstract errormsg()#

Return a string to be added to the exception message.

Return type:

str