refactor: Switch to using miette for errors instead of anyhow (#198)
Switch to a better error crate that will allow setting help texts for any error we want.
This commit is contained in:
parent
784be9869a
commit
065fa193e3
24 changed files with 364 additions and 143 deletions
|
|
@ -1,10 +1,10 @@
|
|||
use std::{borrow::Cow, path::PathBuf, process};
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
use blue_build_utils::syntax_highlighting::highlight_ser;
|
||||
use colored::Colorize;
|
||||
use indexmap::IndexMap;
|
||||
use log::{error, trace, warn};
|
||||
use miette::{bail, Result};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_yaml::Value;
|
||||
use typed_builder::TypedBuilder;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue