FileSystemException class - dart:io library (original) (raw)

Exception thrown when a file operation fails.

Implemented types

Implementers

Constructors

FileSystemException([String message = "", String? path = "", OSError? osError])

Creates a new file system exception with optional parts.

const

Properties

hashCodeint

The hash code for this object.

no setterinherited

messageString

Message describing the error.

final

osErrorOSError?

The underlying OS error.

final

pathString?

The file system path on which the error occurred.

final

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

override

Operators

operator ==(Object other)→ bool

The equality operator.

inherited