PathExistsException class

Exception thrown when a file operation fails because the target path already exists.

Inheritance
Annotations
  • @Since("2.19")

Constructors

PathExistsException(String path, OSError osError, [String message = ""])
const

Properties

hashCode int
The hash code for this object.
read-onlyinherited
message String
Message describing the error.
finalinherited
osError OSError?
The underlying OS error.
finalinherited
path String?
The file system path on which the error occurred.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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