1
0
mirror of https://github.com/nushell/nushell.git synced 2025-02-17 11:01:05 +01:00
nushell/crates/nu-command
Andrej Kolchin 1a864ea6f4
Refactor error make ()
- Replaced `start`/`end` with span.
- Fixed standard library.
- Add `help` option.
- Add a couple more errors for invalid record types.

Resolve 


# Description



# User-Facing Changes

- **BREAKING CHANGE:** `error make` now takes in `span` instead of
`start`/`end`:

  ```Nushell
  error make {
      msg: "Message"
      label: {
          text: "Label text"
          span: (metadata $var).span
      }
  }
  ```
- `error make` now has a `help` argument for custom error help.
2023-11-03 10:09:33 -05:00
..
src remove unwraps in registry_query command () 2023-11-03 08:12:36 -05:00
tests Refactor error make () 2023-11-03 10:09:33 -05:00
Cargo.toml Add umkdir command () 2023-10-30 07:59:48 -05:00
LICENSE Fix rest of license year ranges () 2023-04-04 09:03:29 +12:00