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

com.arextest.model.response.ResponseCode Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.arextest.model.response;


import lombok.Getter;

/**
 * @author jmo
 * @since 2021/11/8
 */

public enum ResponseCode {
  /**
   * means everything is ok
   */
  SUCCESS(0),
  /**
   * means the parameter of request value validate failed.
   */
  REQUESTED_PARAMETER_INVALID(1),
  /**
   * means complete the request occurred internal processing exception.
   */
  REQUESTED_HANDLE_EXCEPTION(2),
  /**
   * means complete the request required resources not found.
   */
  REQUESTED_RESOURCE_NOT_FOUND(3);
  @Getter
  private final int codeValue;

  ResponseCode(int codeValue) {
    this.codeValue = codeValue;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy