Skip to content

Add http error enum library #18

Description

@AlexKempen

We should add the npm package http-status-ts to the app and use it's http code enum rather than hard-coding http codes like 404, 200, 400, 422, etc., everywhere. The main use case for this is on the backend handling the various routes, but I believe there's a few other cases scattered about, such as in the OnshapeApi classes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions