forked from sdelements/node-slate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавлена более подробная документация sdelements#1
- Loading branch information
Artem Anashev
committed
May 5, 2017
1 parent
84303f0
commit 7a1327a
Showing
3 changed files
with
46 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
# Errors | ||
# Ошибки | ||
|
||
<aside class="notice">This error section is stored in a separate file in `includes/_errors.md`. Slate allows you to optionally separate out your docs into many files...just save them to the `includes` folder and add them to the top of your `index.md`'s frontmatter. Files are included in the order listed.</aside> | ||
> Статусы ошибок | ||
The Kittn API uses the following error codes: | ||
> Код ошибки | Значение | Описание | | ||
> ---------- | -------- | -------- | | ||
> 400 | Ошибка валидации банковской карты | | | ||
> 401 | Ошибка аудентификации | | | ||
> 402 | Ошибка подключения к API Яндекс.Кассы | | | ||
<aside class="notice">This error section is stored in a separate file in `includes/_errors.md`. Slate allows you to optionally separate out your docs into many files...just save them to the `includes` folder and add them to the top of your `index.md`'s frontmatter. Files are included in the order listed.</aside> | ||
|
||
Error Code | Meaning | ||
---------- | ------- | ||
400 | Bad Request -- Your request sucks | ||
401 | Unauthorized -- Your API key is wrong | ||
403 | Forbidden -- The kitten requested is hidden for administrators only | ||
404 | Not Found -- The specified kitten could not be found | ||
405 | Method Not Allowed -- You tried to access a kitten with an invalid method | ||
406 | Not Acceptable -- You requested a format that isn't json | ||
410 | Gone -- The kitten requested has been removed from our servers | ||
418 | I'm a teapot | ||
429 | Too Many Requests -- You're requesting too many kittens! Slow down! | ||
500 | Internal Server Error -- We had a problem with our server. Try again later. | ||
503 | Service Unavailable -- We're temporarially offline for maintanance. Please try again later. | ||
CheckoutJs поддерживает ошибки привычных HTTP запросов. Все коды, начинающиеся с `20*` сигнализируют об успешном платеже, | ||
`40*` о том, что что-то пошло не так. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters