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
I encountered an issue when using this package as a replacement for dart:io for web. The class OSError does not extend Exception in universal_io, while in dart:io it does extend Exception. Since message is already a property, it seems it's just a matter of replacing line 55 in lib/src/io/exceptions.dart:
class OSError {
with
class OSError implements Exception {
OSError already has a message property, so, this is basically it. But maybe I'm missing something here?
Best regards,
Mark
The text was updated successfully, but these errors were encountered:
Hi!
I encountered an issue when using this package as a replacement for dart:io for web. The class OSError does not extend Exception in universal_io, while in dart:io it does extend Exception. Since message is already a property, it seems it's just a matter of replacing line 55 in lib/src/io/exceptions.dart:
class OSError {
with
class OSError implements Exception {
OSError already has a message property, so, this is basically it. But maybe I'm missing something here?
Best regards,
Mark
The text was updated successfully, but these errors were encountered: