Creates an instance of ESPAppPermissionError
.
The error code corresponding to a specific permission error message
from appPermissionErrorMessages
.
Optional
causeThe specific error code associated with the error.
A label to classify the error type.
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Represents an error related to app permission issues.
This class extends
ESPBaseError
and is used to handle errors that occur during the app permission process, such as BLE permission, location permission, or local control permission.