boywithkeyboard-archive / cheetah1

A framework for the modern web. (NO LONGER MAINTAINED)
https://cheetah.mod.land
Apache License 2.0
192 stars 1 forks source link

c.exception() missing for extensions. #196

Open J053Fabi0 opened 1 year ago

J053Fabi0 commented 1 year ago

1.4.0

I'm getting a deprecated warning when using new Exception telling me to use c.exception() instead, but ExtensionContext doesn't have that function.

image

It's working well with normal routes, though.

image

boywithkeyboard commented 1 year ago

@J053Fabi0 the Extensions API will get a breaking rewrite at v2.0 as the naming of variables/methods isn't really the best plus I'd like to simplify it a lot.

Thanks for making me aware of this issue!