Class TdApi.TestReturnError

Enclosing class:
TdApi

public static class TdApi.TestReturnError
extends TdApi.Function
Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously.

Returns Error

  • Field Details

  • Constructor Details

    • TestReturnError

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

      Returns Error

    • TestReturnError

      public TestReturnError​(TdApi.Error error)
      Returns the specified error and ensures that the Error object is used; for testing only. Can be called synchronously.

      Returns Error

      Parameters:
      error - Error The error to be returned.
    • TestReturnError

      public TestReturnError​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details