In one of the unit tests I mention an error should be raised from a ModelWrapper, which would be caught and handled by the CssefRPCEndpoint.__call__ method. In another test I said that an error should be caught and handled by the ModelWrapper, with the appropriate response being returned to the model_del/set/get function.
Before starting either of those todos, I need to figure how how errors raised within the ModelWrapper class will be handled: in the ModelWrapper, or by the CssefRPCEndpoint. The model_del/set/get function itself should not handle any errors.
In one of the unit tests I mention an error should be raised from a
ModelWrapper
, which would be caught and handled by theCssefRPCEndpoint.__call__
method. In another test I said that an error should be caught and handled by the ModelWrapper, with the appropriate response being returned to themodel_del/set/get
function.Before starting either of those todos, I need to figure how how errors raised within the
ModelWrapper
class will be handled: in theModelWrapper
, or by theCssefRPCEndpoint
. Themodel_del/set/get
function itself should not handle any errors.