Interface TestReturnError

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

interface TestReturnError {
    @type: "testReturnError";
    error: Error;
}

Properties

Properties

@type: "testReturnError"
error: Error

The error to be returned.