{"_id":"@octokit-next/request-error","_rev":"2957281","name":"@octokit-next/request-error","description":"Error class for Octokit request errors","dist-tags":{"latest":"2.7.0"},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"time":{"modified":"2023-04-27T07:42:38.000Z","created":"2022-09-23T23:08:30.375Z","2.7.0":"2022-12-22T07:40:36.392Z","2.6.1":"2022-12-21T23:22:50.133Z","2.6.0":"2022-10-13T23:17:05.734Z","2.5.2":"2022-10-11T05:18:12.180Z","2.5.1":"2022-10-10T22:06:19.255Z","2.5.0":"2022-10-08T22:22:39.402Z","2.4.1":"2022-10-06T05:07:00.571Z","2.4.0":"2022-10-05T06:19:08.637Z","2.3.1":"2022-10-03T22:21:14.938Z","2.3.0":"2022-09-28T21:01:34.927Z","2.2.0":"2022-09-27T00:42:30.120Z","2.1.1":"2022-09-23T23:08:30.375Z"},"users":{},"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"versions":{"2.7.0":{"name":"@octokit-next/request-error","version":"2.7.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 --100 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.7.0"},"gitHead":"8cfde9b5ffb479b2eaa2ca3a0b475fe6e05037c0","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.7.0","_nodeVersion":"16.18.1","_npmVersion":"8.19.3","dist":{"shasum":"4ba0ddb02769af6417dd9102dbf4dc571cf58cd0","size":2645,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.7.0.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.7.0_1671694836218_0.012050677682554634"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-22T07:40:44.310Z","publish_time":1671694836392,"_cnpm_publish_time":1671694836392},"2.6.1":{"name":"@octokit-next/request-error","version":"2.6.1","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 --100 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.6.1"},"gitHead":"6be94a4d92334f34618f7b76e33b1f9e1f85f398","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.6.1","_nodeVersion":"16.18.1","_npmVersion":"8.19.3","dist":{"shasum":"92f28702d79049b17d946ad56e0a12879e5e9607","size":2646,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.6.1.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.6.1_1671664969994_0.40522280139825617"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T23:32:58.279Z","publish_time":1671664970133,"_cnpm_publish_time":1671664970133},"2.6.0":{"name":"@octokit-next/request-error","version":"2.6.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 --100 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.6.0"},"gitHead":"58490d8e7896dd2567cec3c14804dbd4ec9eaa50","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.6.0","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"f350c1a081e61e69eb7f872f1254ab0e121c979a","size":2646,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.6.0.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.6.0_1665703025557_0.11513196584706953"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-13T23:17:45.737Z","publish_time":1665703025734,"_cnpm_publish_time":1665703025734},"2.5.2":{"name":"@octokit-next/request-error","version":"2.5.2","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 --100 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.5.2"},"gitHead":"86690aab9a72a86c0af518e241679f589746b884","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.5.2","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"6bc4ed37a360e77c709b1ede17b1a0dc9e02a51e","size":2646,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.5.2.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.5.2_1665465492017_0.08298425388392516"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-11T05:22:09.203Z","publish_time":1665465492180,"_cnpm_publish_time":1665465492180},"2.5.1":{"name":"@octokit-next/request-error","version":"2.5.1","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.5.1"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"25a0f3991f09351e8c129801bbf23519df0a35aa","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.5.1","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"8895e47e7ba0a4f4dfcbe513d43f0a8b0bc875d3","size":2686,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.5.1.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.5.1_1665439579032_0.9214519935538115"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-10T22:06:32.411Z","publish_time":1665439579255,"_cnpm_publish_time":1665439579255},"2.5.0":{"name":"@octokit-next/request-error","version":"2.5.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.5.0"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"a9a2439dd6efe6ae95f8d9ad015b3733162cf177","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.5.0","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"8d56c6acab76ffef1485fa9086b6aafa40bac68e","size":2686,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.5.0.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.5.0_1665267759217_0.19521152952392562"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-08T22:23:43.298Z","publish_time":1665267759402,"_cnpm_publish_time":1665267759402},"2.4.1":{"name":"@octokit-next/request-error","version":"2.4.1","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.4.1"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"c591f0679524fede19e6aa6a703afd91d7f365cc","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.4.1","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"f9aa2f750f3f34fdba692cf44146a63a889bccb6","size":2686,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.4.1.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.4.1_1665032820394_0.7426873231852302"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-06T05:07:03.062Z","publish_time":1665032820571,"_cnpm_publish_time":1665032820571},"2.4.0":{"name":"@octokit-next/request-error","version":"2.4.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.4.0"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"8c6001d27e21f8d2028d3c1fc632634556dfc259","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.4.0","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"shasum":"fe067739a3853952bdc1d2ddb9d581244847a044","size":2686,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.4.0.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.4.0_1664950748474_0.6561263166509763"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-05T06:19:12.212Z","publish_time":1664950748637,"_cnpm_publish_time":1664950748637},"2.3.1":{"name":"@octokit-next/request-error","version":"2.3.1","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 ava test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.3.1"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"80f7b7c3e9dfa6c338e28d5d9625602af3ca3eab","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.3.1","_nodeVersion":"16.17.0","_npmVersion":"8.19.2","dist":{"shasum":"c7f98719b5c14c8927e0eb45f305e65765d7b7bc","size":2686,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.3.1.tgz"},"_npmUser":{"name":"octokit-next-bot","email":"octokit-next-bot@martynus.net"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.3.1_1664835674753_0.5188757446316847"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-03T22:21:19.992Z","publish_time":1664835674938,"_cnpm_publish_time":1664835674938},"2.3.0":{"name":"@octokit-next/request-error","version":"2.3.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 uvu test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.3.0"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"3cb962c8a66f26033a5f6b66e75605c31f9439b8","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.3.0","_nodeVersion":"16.17.0","_npmVersion":"8.19.2","dist":{"shasum":"2a5413cb2c105f922995672f5784fe762a30ce28","size":2709,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.3.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.3.0_1664398894739_0.008162685135421954"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-28T21:01:52.842Z","publish_time":1664398894927,"_cnpm_publish_time":1664398894927},"2.2.0":{"name":"@octokit-next/request-error","version":"2.2.0","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 uvu test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.2.0"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"2c51138f57e26528b652c64abb2ef93e89819a0b","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.2.0","_nodeVersion":"16.17.0","_npmVersion":"8.19.2","dist":{"shasum":"4a1028b2eb4214595b04f32c714486c82b1a2bb2","size":2729,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.2.0.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.2.0_1664239349942_0.8064774189847783"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-27T00:42:47.829Z","publish_time":1664239350120,"_cnpm_publish_time":1664239350120},"2.1.1":{"name":"@octokit-next/request-error","version":"2.1.1","publishConfig":{"access":"public"},"type":"module","description":"Error class for Octokit request errors","exports":"./index.js","types":"./index.d.ts","repository":{"type":"git","url":"git+https://github.com/octokit/octokit-next.js.git","directory":"packages/request-error"},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","keywords":["octokit","github","api"],"author":{"name":"Gregor Martynus","url":"https://github.com/gr2m"},"license":"MIT","scripts":{"test":"npm run test:code && npm run test:types","test:code":"c8 uvu test","test:types":"tsd"},"dependencies":{"@octokit-next/types":"2.1.1"},"c8":{"check-coverage":true,"lines":100,"functions":100,"branches":100,"statements":100},"gitHead":"e6f5d748e51f86e1fbebe0b74b08116a03e1b043","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"_id":"@octokit-next/request-error@2.1.1","_nodeVersion":"16.17.0","_npmVersion":"8.19.2","dist":{"shasum":"ae8e63ab3863cfb4873ac5d97ba6f32f3019e656","size":2729,"noattachment":false,"key":"/@octokit-next/request-error/-/@octokit-next/request-error-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@octokit-next/request-error/download/@octokit-next/request-error-2.1.1.tgz"},"_npmUser":{"name":"octokitbot","email":"security+octokitbot@github.com"},"directories":{},"maintainers":[{"name":"gr2m","email":"gregor@martynus.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/request-error_2.1.1_1663974510210_0.7108379049442364"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-23T23:08:48.561Z","publish_time":1663974510375,"_cnpm_publish_time":1663974510375}},"readme":"# request-error.js\n\n> Error class for Octokit request errors\n\n[![@latest](https://img.shields.io/npm/v/@octokit-next/request-error.svg)](https://www.npmjs.com/package/@octokit-next/request-error)\n[![Build Status](https://github.com/octokit-next/request-error.js/workflows/Test/badge.svg)](https://github.com/octokit-next/request-error.js/actions?query=workflow%3ATest)\n\n## Usage\n\n<table>\n<tbody valign=top align=left>\n<tr><th>\nBrowsers\n</th><td width=100%>\nLoad <code>@octokit-next/request-error</code> directly from <a href=\"https://cdn.skypack.dev\">cdn.skypack.dev</a>\n        \n```html\n<script type=\"module\">\nimport { RequestError } from \"https://cdn.skypack.dev/@octokit-next/request-error\";\n</script>\n```\n\n</td></tr>\n<tr><th>\nNode\n</th><td>\n\nInstall with <code>npm install @octokit-next/request-error</code>\n\n```js\nimport { RequestError } from \"@octokit-next/request-error\";\n```\n\n</td></tr>\n</tbody>\n</table>\n\n```js\nconst error = new RequestError(\"Oops\", 500, {\n  request: {\n    method: \"POST\",\n    url: \"https://api.github.com/foo\",\n    body: {\n      bar: \"baz\",\n    },\n    headers: {\n      authorization: \"token secret123\",\n    },\n  },\n  response: {\n    status: 500,\n    url: \"https://api.github.com/foo\"\n    headers: {\n      \"x-github-request-id\": \"1:2:3:4\",\n    },\n    data: {\n      foo: \"bar\"\n    }\n  },\n});\n\nerror.message; // Oops\nerror.status; // 500\nerror.request; // { method, url, headers, body }\nerror.response; // { url, status, headers, data }\n```\n\n## LICENSE\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/octokit/octokit-next.js/tree/main/packages/request-error#readme","bugs":{"url":"https://github.com/octokit/octokit-next.js/issues"},"license":"MIT"}