Skip to content

testReturnError

Function · TDLib 1.8.67 · d1085f9c

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

testReturnError(
  error: Error
) → Error

error

Error

The error to be returned