TestReturnError constructor

TestReturnError(
  1. {required Error error,
  2. int? extra,
  3. int? clientId}
)

Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously

Returns Error

Implementation

TestReturnError