quinton-ashley / p5play

JavaScript game engine that uses q5.js/p5.js for graphics and Box2D for physics.
https://p5play.org
GNU Affero General Public License v3.0
654 stars 183 forks source link

Improve the FriendlyError system #283

Open quinton-ashley opened 9 months ago

quinton-ashley commented 9 months ago

Replace regular errors (console.error and new Error) in p5play.js with friendly errors.

In the future, translated error message json files could be created.