Thanks to visit codestin.com
Credit goes to github.com

Skip to content

SuppressedError should not support cause / options argument #9283

@zloirock

Description

@zloirock

What version of Bun is running?

1.0.30

What platform is your computer?

mac

What steps can reproduce the bug?

new SuppressedError(1, 2, 3, { cause: 4 }).cause; // => 4, should be undefined

What is the expected behavior?

No response

What do you see instead?

No response

Additional information

It was removed from the proposal more than a year ago, tc39/proposal-explicit-resource-management#147

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingweb-apiSomething that relates to a standard Web API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions