All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.descope.exception.ErrorCode Maven / Gradle / Ivy

There is a newer version: 1.0.30
Show newest version
package com.descope.exception;

import lombok.experimental.UtilityClass;

@UtilityClass
public class ErrorCode {

  public static final String INTERNAL_SERVER_ERROR = "500";

  // server common
  public static final String INVALID_ARGUMENT = "E011004";
  public static final String ERR_REFRESH_TOKEN = "G030003";

  // client setup
  public static final String MISSING_PROJECT_ID = "G010001";
  public static final String INVALID_PROJECT_ID = "G010002";

  // client functional errors
  public static final String INVALID_TOKEN = "G030002";
  public static final String ERR_MISSING_ARGUMENTS = "E011002";

  // rate limit
  public static final String RATE_LIMIT_EXCEEDED = "E130429";

  // No keys
  public static final String INVALID_SIGNING_KEY = "J010001";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy