CmWriteError

Types

Link copied to clipboard

Indicates an attempt to write to a property while a firmware update is in progress, which is not allowed.

Link copied to clipboard

Signifies an invalid step value in a write operation for a range property.

Link copied to clipboard

Represents a failure due to the module not being fully connected, hence unable to perform write operations.

Link copied to clipboard

Occurs when the target property is not defined withing the module's available properties.

Link copied to clipboard

Signifies that the target property is not writable.

Link copied to clipboard

Represents an error where the property's type does not match the expected type for the write operation.

Link copied to clipboard

Occurs when a value being written to a range property is outside of the allowed range.

Link copied to clipboard

Represents an unexpected error during a writing operation.

Link copied to clipboard

Indicates an attempt to write a state that is not defined in CmPropertyInfo.States.states.

Link copied to clipboard

Indicates that the size of the value provided for writing does not match the property's defined byte size.

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String

A human-readable message that describes the nature of the error.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String