{"id":15621583,"url":"https://github.com/macdja38/eris-errors","last_synced_at":"2025-03-29T15:46:51.444Z","repository":{"id":57226658,"uuid":"113439316","full_name":"macdja38/eris-errors","owner":"macdja38","description":null,"archived":false,"fork":false,"pushed_at":"2017-12-07T11:30:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-05T11:18:20.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macdja38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-07T10:54:01.000Z","updated_at":"2018-07-14T06:50:40.000Z","dependencies_parsed_at":"2022-08-22T12:20:33.172Z","dependency_job_id":null,"html_url":"https://github.com/macdja38/eris-errors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Feris-errors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Feris-errors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Feris-errors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Feris-errors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macdja38","download_url":"https://codeload.github.com/macdja38/eris-errors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207492,"owners_count":20740723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T09:51:13.588Z","updated_at":"2025-03-29T15:46:51.418Z","avatar_url":"https://github.com/macdja38.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Constants companion for eris including the error codes expressed by the .code property of an error.\n\nThis library allows for human readable and IDE completed error codes.\n\nFor example\n\n```js\nconst EE = require(\"eris-errors\");\nconst Eris = require(\"eris\");\nconst eris = new Eris(\"token\", {restMode: true});\neris.getRESTChannel(\"117454468076797959\").catch(error =\u003e {\n    if (error.code === EE.DISCORD_RESPONSE_UNKNOWN_CHANNEL) {\n      // handle error\n    }\n});\n```\n\nA full list of implemented errors can be found [here](https://github.com/macdja38/eris-errors/blob/master/errors.js)\nA full list of discord errors and their descriptions can be found [here](https://discordapp.com/developers/docs/topics/response-codes)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Feris-errors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacdja38%2Feris-errors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Feris-errors/lists"}