Dart SDK
dart:io
FileSystemException
class
FileSystemException
Properties
Constructors
Methods
Properties
message
path
osError
Constructors
FileSystemException
Methods
toString
Exception thrown when a file operation fails.
Implements
IOException
Properties
String
message
read-only
Message describing the error. This does not include any detailed information form the underlying OS error. Check
osError
for that information.
String
path
read-only
The file system path on which the error occurred. Can be null if the exception does not relate directly to a file system path.
OSError
osError
read-only
The underlying OS error. Can be null if the exception is not raised due to an OS error.
Constructors
FileSystemException
([
String
message
=
""
,
String
path
=
""
,
OSError
osError
])
const
Creates a new FileSystemException with an optional error message
message
, optional file system path
path
and optional OS error
osError
.
Methods
toString
(
) →
String
Returns a string representation of this object.