kotlin-stdlib / kotlin / Throwable / toString toString JS Native 1.1 open fun toString(): String(JS source) (Native source) For JS Returns a string representation of the object. For Native Returns the short description of this throwable consisting of the exception class name (fully qualified if possible) followed by the exception message if it is not null.