pub trait ReturnsHandledOrErrorRawResult {
type SuccessResult;
type ErrorResult;
}
Expand description
Defines a type that can be used as raw input for ReturnsHandledOrError
.
Allows the raw input type to define the output types.
Currently implemented for:
- SyncCallRawResultOrError - in contracts;
- TxResponse - in tests and interactors.