issues Search Results · repo:restify/errors language:JavaScript
Filter by
27 results
(67 ms)27 results
inrestify/errors (press backspace or delete to remove)When sending error with next(error) callback, response sent to client does not contain optionnal properties of my new
Error Object created with makeConstructor restify-errors module.
Env : Node v12.18.3 ...
deguich
- 1
- Opened on Oct 9, 2020
- #105
https://github.com/restify/errors/commit/a37b7f00e962f2ec5b4a827a9df22d44a5df2147
Is there any technical reason why this package depends on @netflix/nerror and not on the original verror? restify-errors ...
sergejostir
- 1
- Opened on Mar 1, 2020
- #103
I want to set extra options in error response. Didn t find the exact solution anywhere.
tried passing in the body
const errors = require( restify-errors );
new errors.MethodNotAllowedError({ body: { ...
yathomasi
- Opened on Feb 27, 2020
- #102
I changed the default error output in restify 4.x using the below code
`var restify = require( restify ); var util = require( util );
function ValidationError(message, errors) { restify.RestError.call(this, ...
qburst-ranjith
- 5
- Opened on Nov 15, 2018
- #93
when creating new restify error with a %25 as a prefix and than one of the following chars (e,E,f,g,G,d etc...) the
application will break with an uncaught exception. it looks like verror uses sprintf, ...
kobymolcho
- 7
- Opened on Jun 20, 2018
- #92
Documentation isn t clear when to use return next(err); vs using just next(err); For instance, everywhere it uses return
except in the section Checking Error types
rohitsud
- 1
- Opened on Sep 18, 2017
- #82
Based on README, the error should be compared using instanceof operator.
for example
const errors = require( restify-errors );
const err = new errors.ResourceNotFoundError();
err instanceof errors.ResourceNotFoundError; ...
seoker
- 2
- Opened on Sep 13, 2017
- #81
I see, by design strictly only code and message are being passed to http response body.
https://github.com/restify/errors/blob/master/lib/baseClasses/HttpError.js#L92
https://github.com/restify/errors/blob/master/lib/baseClasses/HttpError.js#L147 ...
enhancement
help wanted
aegyed91
- 8
- Opened on Sep 10, 2017
- #80
Custom constructors created via makeConstructor() are currently stored on the module. This can create some problems if
this module is shared between libraries that want to create constructors with the ...
DonutEspresso
- 2
- Opened on Aug 16, 2017
- #77
The context option was implemented before verror s info option was available. Now that it s available upstream we should
try and use that under the hood instead. Some implications in terms of how to access ...
DonutEspresso
- Opened on Aug 16, 2017
- #76

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.