test_return_error_sync


Description:

public Error test_return_error_sync (Error error) throws TDLibError

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

Parameters:

error

The error to be returned