Closed FreedomBen closed 2 years ago
ErrorResponse
isn't actually used yet but I figured I'd commit what I had so it doesn't get lost or merge conflicted into death
It looks like there's already a basic type defined in errors.ts, so this would make more sense being merged in there. Also the object is a little different now. Closing and will reopen as a different PR.
If an API endpoint returns an error, this ErrorResponse describes what it will look like