pub async fn test_return_error(
error: Error,
client_id: i32,
) -> Result<Error, Error>
Expand description
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously
ยงArguments
error
- The error to be returnedclient_id
- The client id to send the request to