package dji.sdk.exception.permission;

import dji.sdk.api.DjiDronePermissionResult;

/**
 * The Exception for the Invalid Application Key failure.
 *
 * @author Chris Adamson
 * @version  1.0
 * @see DjiPermissionResultException
 * @see DjiDronePermissionResult#INVALID_APP_KEY
 */
public class DjiInvalidAppKeyException
extends DjiPermissionResultException {

    /**
     * Returns the related DJI Drone Permission Result.
     *
     * @return the related permission result.
     */
    @Override
    public DjiDronePermissionResult getDjiDronePermissionResult() {
        return DjiDronePermissionResult.INVALID_APP_KEY;
    }
}
