Table of Contents

Constructor YeelightError

Namespace
Yeelight
Assembly
YeelightClient.dll

YeelightError(int, string)

The error that a command ended with: what a light answered in the error member of its answer, or why the answer never came.

public YeelightError(int Code, string Message)

Parameters

Code int

The code. A light answers with -1 for everything that it refuses; the codes from -100 down are the client's own, for what went wrong on the way to the light (see Kind).

Message string

The message of the light (for example unsupported method or client quota exceeded), or of the client.