nushell/crates/nu-command
Andrej Kolchin 1a864ea6f4
Refactor error make (#10923)
- Replaced `start`/`end` with span.
- Fixed standard library.
- Add `help` option.
- Add a couple more errors for invalid record types.

Resolve #10914


# 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 (#10936) 2023-11-03 08:12:36 -05:00
tests Refactor error make (#10923) 2023-11-03 10:09:33 -05:00
Cargo.toml Add umkdir command (#10785) 2023-10-30 07:59:48 -05:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00