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 9f97725 commit 5ad7106Copy full SHA for 5ad7106
src/runtime/js.zig
@@ -1147,7 +1147,7 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
1147
scope: *const Scope,
1148
1149
// the caller needs to deinit the string returned
1150
- pub fn exception(self: Exception, allocator: Allocator) !?[]const u8 {
+ pub fn exception(self: Exception, allocator: Allocator) ![]const u8 {
1151
const scope = self.scope;
1152
return try valueToString(allocator, self.inner, scope.isolate, scope.context);
1153
}
0 commit comments