League-of-Foundry-Developers / foundryvtt-devMode

A module with some tools to help enable Foundry VTT package developers.
MIT License
12 stars 15 forks source link

Deprecation Errors instead of Warnings #28

Open akrigline opened 2 years ago

akrigline commented 2 years ago

Is your feature request related to a problem? Please describe. It is sometimes difficult to isolate the deprecation warnings from other warnings while testing a module and would be useful to have a "strict" mode which throws errors instead of warnings.

Describe the solution you'd like I'd like DEBUG mode where deprecation warnings would instead throw errors.

Describe alternatives you've considered Dealing with deprecations the old fashioned, not easy way.

Additional context This was originally requested from Spetzel on the mothership: https://discord.com/channels/170995199584108546/811676497965613117/922889009422802984