Function test_return_error

Source
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 returned
  • client_id - The client id to send the request to