David Luecke
532eda03ff
chore: Remove unnecessary dependencies file and adjust Prettier line width ( #2650 )
2022-05-31 13:47:07 -07:00
David Luecke
c606c56dc2
chore: Format code using Prettier and updated ESLint rules ( #2647 )
...
Co-authored-by: Marshall Thompson <marshall@creativeideal.net>
2022-05-27 15:21:13 -07:00
David Luecke
17d80e0b8e
chore(typescript): Migrate @feathersjs/errors to modern classes and TypeScript ( #1920 )
2020-04-16 14:38:52 -07:00
David Luecke
1989161f2e
Update to Buzzard infrastructure ( #93 )
...
* Update to new plugin infrastructure and npm scope (#92 )
* Update to new plugin infrastructure and npm scope
* Update debug dependency
* Update year and release script
* Prepare prerelease
* 3.0.0-pre.1
* Updating changelog
2018-08-20 19:58:09 -07:00
David Luecke
dfe5c682f5
Add back default error message ( #83 )
2018-08-20 19:58:09 -07:00
David Luecke
16fcd323c8
Capture proper stack trace and error messages ( #82 )
...
* Capture propert stack trace and error messages
* Fix typo
2018-08-20 19:58:09 -07:00
Karim Amzil
6b349ae957
Add more information to error debug ( #79 )
2018-08-20 19:58:09 -07:00
Daniel Constantin
6328cecd3b
Fix errors property being lost when cloning ( #76 )
2018-08-20 19:58:09 -07:00
Daniel Constantin
f6560ca207
Allow data to be an array ( #75 )
2018-08-20 19:58:09 -07:00
David Luecke
af048e3ba4
Define property toJSON because just assigning it throws an error in Node 4 ( #74 )
2018-08-20 19:58:09 -07:00
David Luecke
02c6ab199e
Change back to old Error inheritance ( #73 )
...
* Change back to old Error inheritance
* Fix tests and add missing packages
2018-08-20 19:58:09 -07:00
Francisco Sales
c67463772a
adding more error types ( #55 )
2018-08-20 19:58:09 -07:00
Cory Smith
89423615be
Merge pull request #52 from feathersjs/semistandard
...
jshint —> semistandard
2018-08-20 19:58:09 -07:00
Eric Kryski
e16cf286f5
adding ability to get a feathers error by http status code ( #46 )
2018-08-20 19:58:09 -07:00
Eric Kryski
8c245cd09d
Not found ( #45 )
...
* fixing typo in test
* adding not-found handler
2018-08-20 19:58:09 -07:00
David Luecke
89fb29a155
Add an error conversion method ( #43 )
2018-08-20 19:58:09 -07:00
Eric Kryski
7ecc29de76
Merge pull request #36 from feathersjs/custom-handlers
...
Custom handlers
2018-08-20 19:58:09 -07:00
Eric Kryski
c753a3ee89
Merge pull request #28 from feathersjs/explicit-error-type
...
adding an explicit error type
2018-08-20 19:58:09 -07:00
Eric Kryski
1ed50bbd4b
Merge pull request #26 from feathersjs/separate-handler
...
move error handler out of index
2018-08-20 19:58:09 -07:00
David Luecke
9a745c419e
Merge pull request #25 from feathersjs/default-html-23
...
Adding default error page and make HTML formatting optional
2018-08-20 19:58:09 -07:00
David Luecke
7557a01c14
Merge pull request #23 from feathersjs/error-tests
...
Make fully CommonJS compatible and add error middleware tests
2018-08-20 19:58:09 -07:00
Eric Kryski
e30333fe66
minor style changes to the error pages
2018-08-20 19:58:09 -07:00
Eric Kryski
d4f1775df3
Merge pull request #22 from feathersjs/error-handler
...
adding error handler back
2018-08-20 19:58:09 -07:00
Eric Kryski
63b877dcc0
supporting immutable data. Closes #19
2018-08-20 19:58:09 -07:00
Eric Kryski
3629005ac8
cleaning up how errors are extended. Closes #20
2018-08-20 19:58:09 -07:00
David Luecke
19ecb70a08
Conditionally load Polyfill and ignore lib folder
2018-08-20 19:58:09 -07:00
David Luecke
84f25c0e08
Adding ES6 polyfill for compatibility with Node 0.10
2018-08-20 19:58:09 -07:00
Eric Kryski
910bcfa5fb
exposing our generic FeathersError so that we can check error types in an error handler
2018-08-20 19:58:09 -07:00
Eric Kryski
4daeabb82b
adding a couple more tests. Adding ability to pass in multiple errors without a message
2018-08-20 19:58:09 -07:00
Eric Kryski
eedb34dda8
Merge pull request #15 from feathersjs/es6-class-fix
...
Es6 class fix
2018-08-20 19:58:09 -07:00
Eric Kryski
88cfa7b11d
exporting errors by default
2018-08-20 19:58:09 -07:00
Eric Kryski
eb65a36c2a
removing unused file
2018-08-20 19:58:09 -07:00
Eric Kryski
1acdbacc1a
Merge pull request #13 from feathersjs/es6
...
complete rewrite. Closes #11 and #12 .
2018-08-20 19:58:09 -07:00