Creates an instance of ESPAppPermissionError.
The error code corresponding to a specific permission error message
from appPermissionErrorMessages.
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 app permission issues.
This class extends
ESPBaseErrorand is used to handle errors that occur during the app permission process, such as BLE permission, location permission, or local control permission.