com.youcruit.billogram.objects.response.error.BillogramErrors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of billogram-v2-api-java-lib Show documentation
Show all versions of billogram-v2-api-java-lib Show documentation
Library for connecting to the Billogram v2 API
package com.youcruit.billogram.objects.response.error;
public enum BillogramErrors {
MISSING_AUTH(401),
INVALID_AUTH(403),
PERMISSION_DENIED(403),
NOT_FOUND(404),
NOT_AVAILABLE_YET(404),
METHOD_NOT_ALLOWED(500),
MISSING_QUERY_PARAMETER(400),
INVALID_QUERY_PARAMETER(400),
INVALID_PARAMETER(400),
READ_ONLY_PARAMETER(400),
UNKNOWN_PARAMETER(400),
INVALID_OBJECT_STATE(400);
public final int httpStatus;
BillogramErrors(int httpStatus) {
this.httpStatus = httpStatus;
}
}