# PathError

`import { PathError } from "destack:error";`

I/O failure attached to a path operation.

```ds title="PathError"
export struct PathError {
    operation: string;
    path: string;
    error: IoError;
}
```

[language/library/src/error/io.ds:80:89](https://github.com/destack-sh/destack/blob/main/language/library/src/error/io.ds#L80-L89)

## Members

### `operation: string`

Operation being performed.

### `path: string`

Path involved in the operation.

### `error: IoError`

I/O failure from the operation.
