node-switchbot
Preparing search index...
CommandFailedError
Class CommandFailedError
Error thrown when a command fails
Hierarchy (
View Summary
)
SwitchBotError
CommandFailedError
Index
Constructors
constructor
Properties
code?
connection
Type?
original
Error?
Constructors
constructor
new
CommandFailedError
(
message
:
string
,
connectionType
?:
"ble"
|
"api"
,
originalError
?:
Error
,
)
:
CommandFailedError
Parameters
message
:
string
Optional
connectionType
:
"ble"
|
"api"
Optional
originalError
:
Error
Returns
CommandFailedError
Properties
Optional
Readonly
code
code
?:
string
Optional
Readonly
connection
Type
connectionType
?:
"ble"
|
"api"
Optional
Readonly
original
Error
originalError
?:
Error
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
code
connection
Type
original
Error
node-switchbot
Loading...
Error thrown when a command fails