Dancer2 icon indicating copy to clipboard operation
Dancer2 copied to clipboard

Dancer2::Core::Error document is obsolete

Open xsawyerx opened this issue 1 year ago • 0 comments

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.

xsawyerx avatar Aug 09 '22 19:08 xsawyerx