if (errorList.elementAt(1) instanceof OtpErlangString) {
builder.append(((OtpErlangString) errorList.elementAt(1))
.stringValue());
}
return builder.toString();
} else if (errorType.atomValue().equals("not_fun")) {
return "Given expression is not a function";
} else if (errorType.atomValue().equals("unbound_var")) {
final StringBuilder builder = new StringBuilder("Unbound variable: ");
builder.append(tuple.elementAt(2));
return builder.toString();