FileSystemException constructor

const FileSystemException(
  1. [String message = "",
  2. String? path = "",
  3. OSError? osError]
)

Creates a new file system exception with optional parts.

Creates an exception with FileSystemException.message, FileSystemException.path and FileSystemException.osError values take from the optional parameters of the same name.

The message and path path defaults to empty strings if omitted, and osError defaults to null.

Implementation

const FileSystemException([this.message = "", this.path = "", this.osError]);