As seen here: https://perchance.org/ihmcs2z5nn#edit

__perchanceError() doesn’t show on the page, or in the console. throw new Error() doesn’t either.

Edit: Similar for in a <script> tag. The error does go to the console, but no perchance error shows up. So later if you call a function that wasn’t created in that script tag because of that hidden error, you just get the error that the function isn’t there–as if there was no problem with the script tag, but the function just isn’t there, for no apparent reason.

Would be better if the script tag’s error was also shown in the perchance error box so it doesn’t lead to misleading reporting like this.

  • @wthit56OP
    link
    English
    13 months ago

    Interesting that for that demo page only the __perchanceError() does anything. There are several other errors happening on that page, but none make it to the console or the perchance error box.