-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed as not planned
Labels
Area:AccessibilitySupporting web accessibility (a11y)Supporting web accessibility (a11y)Area:WebGLEnhancementFriendly Errors
Description
Increasing Access
Many functions inside src/webgl and lib/addons currently uses console.error to report errors. It would be more user-friendly and consistent with the p5.js environment to replace these calls with the friendly error system (FES).
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build Process
- Unit Testing
- Internalization
- Friendly Errors
- Other (specify if possible)
Feature enhancement details
For example, take parseASCIISTL function in webgl/loading.js,
I have triggered an error condition and the results,
with console.error:

with FES:

It would be more user-friendly and consistent with the p5.js environment to replace these calls with the friendly error system (FES).
Metadata
Metadata
Assignees
Labels
Area:AccessibilitySupporting web accessibility (a11y)Supporting web accessibility (a11y)Area:WebGLEnhancementFriendly Errors