You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API provides a way to parses an Error.stack into an array of StackFrame. However, as far as I can tell, it does not provide a way to convert an array of StackFrame back into a simple Error.stack.
Expected Behavior
The API should be able to convert either direction between an array of StackFrame and Error.stack.
Current Behavior
The API can only convert Error.stack into an array of StackFrame.
Context
There are times you need to generate an array of StackFrame and then push that into a regular Error object for usage downstream by code that does not know how to handle StackFrame objects.
The text was updated successfully, but these errors were encountered:
The API provides a way to parses an
Error.stack
into an array ofStackFrame
. However, as far as I can tell, it does not provide a way to convert an array ofStackFrame
back into a simpleError.stack
.Expected Behavior
The API should be able to convert either direction between an array of
StackFrame
andError.stack
.Current Behavior
The API can only convert
Error.stack
into an array ofStackFrame
.Context
There are times you need to generate an array of
StackFrame
and then push that into a regularError
object for usage downstream by code that does not know how to handleStackFrame
objects.The text was updated successfully, but these errors were encountered: