AppFunctionPermissionRequiredException


public final class AppFunctionPermissionRequiredException extends AppFunctionAppException


Thrown when the app lacks the necessary permission to fulfill the request.

This occurs when the app attempts an operation requiring user-granted permission that has not been provided. For example, creating a calendar event requires access to the calendar content. If the user hasn't granted this permission, this error should be thrown.

This is different from AppFunctionDeniedException in that the required permission is missing from the target app, as opposed to the caller.

Summary

Public constructors

Public constructors

AppFunctionPermissionRequiredException

Added in 1.0.0-alpha01
public AppFunctionPermissionRequiredException(String errorMessage)