public class ServerError
Class which is received when the server reports an error along with error code extends UnhandledError
public ServerError(@NotNull java.lang.String errorCode, @NotNull java.lang.String message)
errorCode
@NotNull public java.lang.String getErrorCode()
the error code thrown.
@NotNull public java.lang.String getMessage()