microsoft / microsoft/typespec
[http-server-javascript] Define common error shape for processing errors
Open
emitter:service:js
feature
triaged:core
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
In the HTTP server generator for JS, there is a definition of a ValidationError that is currently just `string`. This is the type of error that is returned to user code on a validation error from the HTTP processing logic and should be extended with more information about what was wrong with the request that caused the `onInvalidRequest` handler to fire.
Contributor guide
Assessment
This issue has not been assessed yet.