Skip to content

Commit

Permalink
Include I/O error refactor PR (#1782)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysthakur authored Feb 5, 2025
1 parent 8fd2e97 commit fb60965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2025-02-04-nushell_0_102_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ in a display hook. Thanks [@zhiburt](https://github.com/zhiburt)!

# Notes for plugin developers [[toc](#table-of-contents)]

<!-- TODO -->
[@cptpiepmatz](https://github.com/cptpiepmatz) refactored I/O errors in [#14927](https://github.com/nushell/nushell/pull/14927), simplifying them and encouraging including spans in error messages. A new `ShellError::Io(IoError)` variant has been added to `ShellError`, replacing `FileNotFound`, `IOError`, and other variants. The `Io` variant holds an instance of the newly added `IoError` struct, which contains information common to I/O errors, such as error kind, span, and optional extra information. See the linked PR for more information, including how to construct `IoError` values.

# Hall of fame [[toc](#table-of-contents)]

Expand Down

0 comments on commit fb60965

Please sign in to comment.