com.binance.api.client.BinanceApiError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance-api-client Show documentation
Show all versions of binance-api-client Show documentation
Java implementation for Binance API
package com.binance.api.client;
import com.binance.api.client.constant.BinanceApiConstants;
import org.apache.commons.lang3.builder.ToStringBuilder;
/**
* Binance API error object.
*/
public class BinanceApiError {
/**
* Error code.
*/
private int code;
/**
* Error message.
*/
private String msg;
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
@Override
public String toString() {
return new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE)
.append("code", code)
.append("msg", msg)
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy