Use ErrorCodes defined in the VM service protocol
Open
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
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