com.banxa.model.response.ErrorResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
The Java SDK for integration with Banxa's API
The newest version!
package com.banxa.model.response;
public class ErrorResponse {
public static final int DEFAULT_ERROR_STATUS_CODE = 500;
private final String message;
private final int statusCode;
public ErrorResponse(int statusCode, String message) {
this.message = message;
this.statusCode = statusCode;
}
public String getMessage() {
return message;
}
public int getStatusCode() {
return statusCode;
}
}