Show expected error messages for error responses

Open
#236 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
documentation

Research direction

Start by locating the error-response documentation page shown in the attached image and review how response properties are currently rendered. Clarify the expected code and error-message placement with the maintainers; done should mean the relevant error responses display those expected values alongside their properties.

Written by the indexing model from the issue text.

Description

Docs Platform

I see there's a status code and error of Unauthorized request text above the properties here, but could be nice to show the expected code and expected error message with the property.

Not sure the feasibility of that though.

Image****

Dominant language
TypeScript
Stars
24
Forks
90
Avg merge
3d 22h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from directus/docs

All issues in directus/docs

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.