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

io.mosip.kernel.masterdata.constant.UserDetailsHistoryErrorCode Maven / Gradle / Ivy

There is a newer version: 1.2.1.0
Show newest version
package io.mosip.kernel.masterdata.constant;

/**
 * @author Sidhant Agarwal
 * @since 1.0.0
 *
 */
public enum UserDetailsHistoryErrorCode {
	INVALID_EFFECTIVE_DATE_TIME_FORMATE_EXCEPTION("KER-USR-002", "Invalid Date Format"),
	USER_HISTORY_FETCH_EXCEPTION("KER-USR-001", "Error occurred while retrieving User History"),
	USER_HISTORY_NOT_FOUND_EXCEPTION("KER-USR-003", "User History not found");

	private final String errorCode;
	private final String errorMessage;

	private UserDetailsHistoryErrorCode(final String errorCode, final String errorMessage) {
		this.errorCode = errorCode;
		this.errorMessage = errorMessage;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy