mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
* feat(cli): add golden tests for errors (#11588) Creates golden files from `coder/cli/errors.go`. Adds a unit test to test against golden files. Adds a make file command to regenerate golden files. Abstracts test against golden files.
8 lines
433 B
Plaintext
8 lines
433 B
Plaintext
Encountered an error running "coder exp example-error multi-error", see "coder exp example-error multi-error --help" for more information
|
|
error: 3 errors encountered: Trace=[wrapped: ])
|
|
1. first error: function decided not to work, and it never will
|
|
2. second error: function decided not to work, and it never will
|
|
3. Trace=[wrapped api error: ]
|
|
Top level sdk error message.
|
|
magic dust unavailable, please try again later
|