Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitbc199e0

Browse files
committed
Merge pull request#483 from github/error-me-this
Clarify `custom` errors
2 parents31f812f +1b1d885 commitbc199e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎content/v3.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Error Name | Description
165165
`invalid` | This means the formatting of a field is invalid. The documentation for that resource should be able to give you more specific information.
166166
`already_exists` | This means another resource has the same value as this field. This can happen in resources that must have some unique key (such as Label names).
167167

168-
If resources havecustom validation errors, theywillbe documented withtheresource.
168+
Resources may also sendcustom validation errors (where`code` is`custom`). Custom errorswillalways have a`message` field describingtheerror, as well as a`documentation_url` field pointing to some content that might help you resolve the error.
169169

170170
##HTTP Redirects
171171

@@ -417,7 +417,7 @@ higher rate limit for your OAuth application.
417417
###Abuse Rate Limits
418418

419419
To prevent abuse, additional rate limits apply to some endpoints that
420-
create content. This rate limit applies to the creation of new content
420+
create content. This rate limit applies to the creation of new content
421421
over a period of time. These rate limits do not apply to private repositories
422422
or GitHub Enterprise installations.
423423

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp