|
1 | 1 | # ts-httpexceptions |
2 | 2 |
|
3 | | -[](https://travis-ci.org/TypedProject/ts-httpexceptions) |
4 | | -[](https://coveralls.io/github/TypedProject/ts-httpexceptions?branch=master) |
5 | | -[](https://github.com/ellerbrock/typescript-badges/) |
6 | | -[](http://packagequality.com/#?package=ts-express-decorators) |
7 | | -[](https://badge.fury.io/js/ts-express-decorators) |
8 | | -[](https://david-dm.org/TypedProject/ts-httpexceptions#info=dependencies) |
9 | | -[](https://david-dm.org/TypedProject/ts-httpexceptions/#info=devDependencies) |
10 | | -[](https://david-dm.org/TypedProject/ts-httpexceptions/#info=peerDependenciess) |
11 | | -[](https://snyk.io/test/github/TypedProject/ts-httpexceptions) |
12 | | -[](https://github.com/semantic-release/semantic-release) |
13 | | - |
14 | | -> Provide Exceptions for REST API based on Express.js. Written in Typescript ! |
15 | | -
|
16 | | -See [guide installation](https://TypedProject.github.io/ts-httpexceptions/#/getting-started) and our [API](https://TypedProject.github.io/ts-httpexceptions/#/api/index). |
| 3 | +This repository is archived. The source code is now available on https://github.com/TypedProject/tsed/tree/production/packages/exceptions repository |
| 4 | + |
| 5 | +See documentation on [https://tsed.io](https://tsed.io/docs/exceptions.html). |
| 6 | + |
| 7 | +## Installation |
| 8 | + |
| 9 | +``` |
| 10 | +npm install @tsed/exceptions |
| 11 | +``` |
| 12 | + |
17 | 13 | ## Features |
18 | 14 |
|
19 | 15 | Some HTTP Exceptions are already implemented : |
@@ -72,14 +68,6 @@ Server errors (5xx) : |
72 | 68 |
|
73 | 69 | You can use HTTPExceptions method to throw a custom Exception. |
74 | 70 |
|
75 | | - |
76 | | -## Installation |
77 | | - |
78 | | -```bash |
79 | | -$ npm install -g typescript@2.0.2 |
80 | | -$ npm install ts-httpexceptions |
81 | | -``` |
82 | | - |
83 | 71 | ## API |
84 | 72 |
|
85 | 73 | ```typescript |
@@ -132,19 +120,28 @@ app.use((err, request, response, next) => { |
132 | 120 | }); |
133 | 121 | ``` |
134 | 122 |
|
| 123 | +## Contributors |
| 124 | +Please read [contributing guidelines here](./CONTRIBUTING.md). |
135 | 125 |
|
136 | | -## Test |
| 126 | +<a href="https://github.com/TypedProject/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a> |
137 | 127 |
|
138 | | -```bash |
139 | | -$ npm install -g mocha |
140 | | -$ npm test |
141 | | -``` |
| 128 | + |
| 129 | +## Backers |
| 130 | + |
| 131 | +Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)] |
| 132 | + |
| 133 | +<a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/tiers/backer.svg?width=890"></a> |
| 134 | + |
| 135 | + |
| 136 | +## Sponsors |
| 137 | + |
| 138 | +Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)] |
142 | 139 |
|
143 | 140 | ## License |
144 | 141 |
|
145 | 142 | The MIT License (MIT) |
146 | 143 |
|
147 | | -Copyright (c) 2016 Romain Lenzotti |
| 144 | +Copyright (c) 2016 - 2020 Ts.ED |
148 | 145 |
|
149 | 146 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: |
150 | 147 |
|
|
0 commit comments