Open HonzaR opened 3 months ago
A few Synchronizer APIs throw RuntimeException, which is too generic and should be replaced with a more specific one.
Synchronizer
RuntimeException
Replace RuntimeException exception with e.g. RustLayerException.ValidateAddressException for these Synchronizer APIs:
RustLayerException.ValidateAddressException
Also, ensure that all the underlying functions properly state the RuntimeException exception in their contract, i.e., in Backend and TypesafeBackend.
Backend
TypesafeBackend
Is your feature request related to a problem? Please describe.
A few
Synchronizer
APIs throwRuntimeException
, which is too generic and should be replaced with a more specific one.Describe the solution you'd like
Replace
RuntimeException
exception with e.g.RustLayerException.ValidateAddressException
for these Synchronizer APIs:Alternatives you've considered
Also, ensure that all the underlying functions properly state the
RuntimeException
exception in their contract, i.e., inBackend
andTypesafeBackend
.Additional context