mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
jets: restore default interpreter::Error -> JetErr conversion
This commit is contained in:
parent
98c8e18230
commit
bfac32214c
@ -49,6 +49,12 @@ pub enum JetErr {
|
||||
Fail(Error), // Error; do not retry
|
||||
}
|
||||
|
||||
impl From<Error> for JetErr {
|
||||
fn from(err: Error) -> Self {
|
||||
Self::Fail(err)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<noun::Error> for JetErr {
|
||||
fn from(_err: noun::Error) -> Self {
|
||||
Self::Fail(Error::Deterministic(D(0)))
|
||||
|
Loading…
Reference in New Issue
Block a user