[inspector] Use 'ServerError' code for application level error
This CL replaces 'InvalidArgument' with 'ServerError' for Runtime#getExceptionDetails. The reason is that the error we raise is on the application level, allowing the DevTools frontend to handle it to a certain degree. 'InvalidArgument' errors would be interpreted as "something went really wrong", which is not the case here. Bug: chromium:1280141 Change-Id: Id72f06ce8daa06875adeb2528638a80ae61d9e55 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3420304Reviewed-by:Kim-Anh Tran <kimanh@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Cr-Commit-Position: refs/heads/main@{#78809}
Showing
Please
register
or
sign in
to comment