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
..
2023-07-14 15:20:35 +12:00
2023-11-03 10:09:33 -05:00
2023-09-04 19:42:31 +12:00
2023-08-18 20:45:33 +03:00
2023-07-15 19:41:48 +12:00
2023-03-23 13:02:22 -05:00