dart-lang / dart-lang/webdev

Use ErrorCodes defined in the VM service protocol

Open
#756 0 comments 0 reactions 0 assignees View on GitHub
package:dwds type-enhancement
Dominant language
Dart
Stars
224
Forks
94
Avg merge
7h 14m
Merged PRs (30d)
2

Description

There are several error codes defined here:
https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md

We should throw RPC Errors with appropriate error codes where it makes sense.

Contributor guide

Open the contributing guide

Research direction

Read the VM service protocol at runtime/vm/service/service.md and inventory the error codes it defines. Compare those codes with the RPC errors emitted by webdev, then identify applicable cases and verify that their responses use the protocol's appropriate codes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
api, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.