View Source ExTDLib.Method.TestReturnError (ExTDLib v0.0.4)

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

NameTypeDescription
errorerrorThe error to be returned.

More details on telegram's documentation.