josephwoodward / GlobalExceptionHandlerDotNet

Exception handling as a convention in the ASP.NET Core request pipeline
MIT License
272 stars 32 forks source link

Do not restrict to return pre-defined http status codes #12

Closed ozonni closed 6 years ago

ozonni commented 6 years ago

ReturnStatusCode forces you to return one of the http status codes defined in enum which makes it impossible to return something like 499 or any other custom http code.

josephwoodward commented 6 years ago

Thanks for the PR @slang25, that's been merged and I'll get a release out very soon @ozonni.

ozonni commented 6 years ago

@JosephWoodward thank you. can i already get new version from nuget?

josephwoodward commented 6 years ago

@ozonni This has now been released, it should show up in NuGet any minute now. I've tagged the version as a major release as it's a breaking change to consumers. Thanks again for making me aware of this.