Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw an error object instead of a string #173

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

rhodgkins
Copy link
Contributor

Seems more of a correct approach to throw an error object, in case you attach extra properties to the error later on - as I found you cannot do if the error is a string!

@eugef
Copy link
Owner

eugef commented Oct 3, 2018

@rhodgkins thanks for fixing it!

@eugef eugef merged commit 1f5b313 into eugef:master Oct 3, 2018
@rhodgkins
Copy link
Contributor Author

@eugef no probs! Any chance for a new release?

@rhodgkins rhodgkins deleted the headers-sent-error branch October 3, 2018 14:43
@eugef
Copy link
Owner

eugef commented Oct 3, 2018

I will release within few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants