Creates an instance of ESPClaimError.
The error code corresponding to a specific claiming error message
from claimErrorMessages.
OptionalcauseThe specific error code associated with the error.
A label to classify the error type.
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
Staticstack
Represents an error related to claiming issues.
This class extends
ESPBaseErrorand is used to handle errors that occur during the device claiming process, such as certificate generation and device claiming.