Skip to content

Instantly share code, notes, and snippets.

@RafatRifaie
Created October 23, 2019 13:19
Show Gist options
  • Save RafatRifaie/498c7ea7db802eac05ff4b1757ca75b0 to your computer and use it in GitHub Desktop.
Save RafatRifaie/498c7ea7db802eac05ff4b1757ca75b0 to your computer and use it in GitHub Desktop.
public static class error {
public static final HttpError DOWNLOAD_FAILED = new HttpError(900, "Download Failed!");
public static final HttpError UNSUPPORTED_SITE = new HttpError(901, "Unsupported Site!");
public static final HttpError PRO_REQUIRED = new HttpError(902, "You Need PRO Subscription To Use This Feature!");
public static final HttpError ALREADY_USED_TRIAL = new HttpError(910, "Already Used Trial!");
public static final HttpError USER_ALREADY_HAS_ACTIVE_SUBSCRIPTION = new HttpError(911, "User Has An Active Subscription! Please Use /renew.");
public static final HttpError USER_NEVER_SUBSCRIBED = new HttpError(912, "User Was NEVER Subscribed! Please Use /create.");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment