Skip to content

Commit

Permalink
Merge pull request #6481 from Garima3110/patch-1
Browse files Browse the repository at this point in the history
Update friendly_error_system.md
  • Loading branch information
Qianqianye authored Oct 18, 2023
2 parents 6574070 + 93dfdb8 commit 1ead28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contributor_docs/friendly_error_system.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ You can find the translation files used by the `translator()` inside:
These functions are mainly responsible for catching errors and generating FES messages:
* [`_friendlyFileLoadError()`] catches file loading errors.
* [`_validateParameters()`] checks a p5.js function’s input parameters based on inline documents.
* [`_fesErrorMontitor()`] handles global errors.
* [`_fesErrorMonitor()`] handles global errors.

For full reference, please see our [Dev Notes].

Expand Down Expand Up @@ -165,4 +165,4 @@ function setup() {

The single minified file of p5 (i.e., p5.min.js) automatically omits the FES.

[disable the FES for performance]: https://github.com/processing/p5.js/wiki/Optimizing-p5.js-Code-for-Performance#disable-the-friendly-error-system-fes
[disable the FES for performance]: https://github.com/processing/p5.js/wiki/Optimizing-p5.js-Code-for-Performance#disable-the-friendly-error-system-fes

0 comments on commit 1ead28a

Please sign in to comment.