String toString()

Returns a string representation of this object.

Source

String toString() {
  if (cause != null) {
    return "Converting object to an encodable object failed.";
  } else {
    return "Converting object did not return an encodable object.";
  }
}