Skip to content

Commit 6f93d50

Browse files
Make JSException.description public
1 parent 8901dde commit 6f93d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/JavaScriptKit/JSException.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public struct JSException: Error, Equatable, CustomStringConvertible {
2525
/// from `Error` protocol.
2626
private nonisolated(unsafe) let _thrownValue: JSValue
2727

28-
let description: String
28+
/// A description of the exception.
29+
public let description: String
2930

3031
/// Initializes a new JSException instance with a value thrown from JavaScript.
3132
///

0 commit comments

Comments
 (0)