You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can this code be refactored to throw an informative exception? This would allow web clients to detect and report more useful messaging to user when they attempt to encode more data than an image can hold.
The text was updated successfully, but these errors were encountered:
The following code throws an uncaught error in browser environments:
Here is the error:
The code is located in two places:
Can this code be refactored to throw an informative exception? This would allow web clients to detect and report more useful messaging to user when they attempt to encode more data than an image can hold.
The text was updated successfully, but these errors were encountered: