pub enum NixTransformError {
EvaluatorUnavailable(String),
EvaluatorFailed(String),
DecodeError(String),
Sexpr(SExprError),
}Expand description
Errors from running a Nix-powered transform.
Variants§
The Nix evaluator wasn’t available or failed to launch.
EvaluatorFailed(String)
The evaluator ran but returned a non-zero exit; the payload is stderr.
DecodeError(String)
The JSON output couldn’t be decoded into an IacResource.
Sexpr(SExprError)
Sexpr / shape error in the reconstruction.
Trait Implementations§
Source§impl Debug for NixTransformError
impl Debug for NixTransformError
Source§impl Display for NixTransformError
impl Display for NixTransformError
Source§impl Error for NixTransformError
impl Error for NixTransformError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<SExprError> for NixTransformError
impl From<SExprError> for NixTransformError
Source§fn from(e: SExprError) -> Self
fn from(e: SExprError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NixTransformError
impl RefUnwindSafe for NixTransformError
impl Send for NixTransformError
impl Sync for NixTransformError
impl Unpin for NixTransformError
impl UnsafeUnpin for NixTransformError
impl UnwindSafe for NixTransformError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more