-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor errors (breaking) #33
Commits on Sep 27, 2021
-
refactor: ♻️ switched to
thiserror
andanyhow
in the CLIError reporting is now much nicer.
Configuration menu - View commit details
-
Copy full SHA for 59599fe - Browse repository at this point
Copy the full SHA 59599feView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1bfc6e - Browse repository at this point
Copy the full SHA a1bfc6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2daabb1 - Browse repository at this point
Copy the full SHA 2daabb1View commit details
Commits on Sep 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5340d16 - Browse repository at this point
Copy the full SHA 5340d16View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ca3f4 - Browse repository at this point
Copy the full SHA e8ca3f4View commit details -
fix: 🐛 fixed error
#[from]
forClientError
Was `FetchError`, should be `ClientError`.
Configuration menu - View commit details
-
Copy full SHA for ca04f12 - Browse repository at this point
Copy the full SHA ca04f12View commit details -
feat: ✨ made error formatting use
fmterr
We don't need `anyhow` anymore.
Configuration menu - View commit details
-
Copy full SHA for 033fca8 - Browse repository at this point
Copy the full SHA 033fca8View commit details -
feat(templates): ✨ allowed usage of any error type in render functions
Before, only `String` was allowed as an error type. This also makes `?` usable. BREAKING CHANGE: `StringResult`/`StringResultWithCause` are replaced by `RenderFnResult`/`RenderFnResultWithCause`
Configuration menu - View commit details
-
Copy full SHA for 19e685b - Browse repository at this point
Copy the full SHA 19e685bView commit details -
fix: 🐛 fixed newlines/tabs in initial state causing serialization errors
We're now using JS raw strings, escaping as necessary, and then escaping control characters in the shell.
Configuration menu - View commit details
-
Copy full SHA for 4b933c7 - Browse repository at this point
Copy the full SHA 4b933c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for b84c14c - Browse repository at this point
Copy the full SHA b84c14cView commit details