nushell/crates/nu-command/tests
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
..
commands Refactor error make (#10923) 2023-11-03 10:09:33 -05:00
format_conversions Disallow duplicated columns in table literals (#10875) 2023-11-01 21:25:35 +01:00
main.rs Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00