We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26732cd commit 2d5bdb0Copy full SHA for 2d5bdb0
Sources/JavaKit/Exceptions/Throwable+Error.swift
@@ -13,7 +13,10 @@
13
//===----------------------------------------------------------------------===//
14
15
// Translate all Java Throwable instances in a Swift error.
16
-extension Throwable: Error {
+extension Throwable: Error, CustomStringConvertible {
17
+ public var description: String {
18
+ return toString()
19
+ }
20
}
21
22
extension JavaClass<Throwable> {
0 commit comments