PerlDancer / Dancer2

Perl Dancer Next Generation (rewrite of Perl Dancer)
http://perldancer.org/
Other
537 stars 272 forks source link

Dancer2::Core::Error document is obsolete #1669

Closed xsawyerx closed 11 months ago

xsawyerx commented 1 year ago

The documentation for Dancer2::Core::Error includes instantiating a new object and then using the render method (which doesn't exist anymore) and then setting it as the response using Dancer2::Core::Response's set, which doesn't exist.

Instead, we just create a new instance and call throw.

GeekRuthie commented 11 months ago

https://github.com/PerlDancer/Dancer2/pull/1680 Addresses this fix.

cromedome commented 11 months ago

Resolved, thanks!