[−][src]Enum hdk::error::ZomeApiError
Error for DNA developers to use in their Zome code. This does not have to be sent back to Ribosome unless its an InternalError.
Variants
Internal(String)
ValidationFailed(String)
Timeout(String)
Trait Implementations
impl Clone for ZomeApiError
[src]
fn clone(&self) -> ZomeApiError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZomeApiError
[src]
impl<'de> Deserialize<'de> for ZomeApiError
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for ZomeApiError
[src]
impl Error for ZomeApiError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<!> for ZomeApiError
[src]
impl<'a> From<&'a ZomeApiError> for JsonString
[src]
fn from(v: &ZomeApiError) -> JsonString
[src]
impl From<AllocationError> for ZomeApiError
[src]
fn from(allocation_error: AllocationError) -> ZomeApiError
[src]
impl From<HolochainError> for ZomeApiError
[src]
fn from(holochain_error: HolochainError) -> Self
[src]
impl From<JsonError> for ZomeApiError
[src]
impl From<PersistenceError> for ZomeApiError
[src]
fn from(persistence_error: PersistenceError) -> Self
[src]
impl From<RibosomeErrorCode> for ZomeApiError
[src]
fn from(ribosome_error_code: RibosomeErrorCode) -> ZomeApiError
[src]
impl From<String> for ZomeApiError
[src]
fn from(s: String) -> ZomeApiError
[src]
impl From<ZomeApiError> for JsonString
[src]
fn from(v: ZomeApiError) -> JsonString
[src]
impl From<ZomeApiError> for HolochainError
[src]
fn from(zome_api_error: ZomeApiError) -> Self
[src]
impl From<ZomeApiError> for String
[src]
fn from(zome_api_error: ZomeApiError) -> Self
[src]
impl PartialEq<ZomeApiError> for ZomeApiError
[src]
fn eq(&self, other: &ZomeApiError) -> bool
[src]
fn ne(&self, other: &ZomeApiError) -> bool
[src]
impl Serialize for ZomeApiError
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ZomeApiError
[src]
impl<'a> TryFrom<&'a JsonString> for ZomeApiError
[src]
type Error = JsonError
The type returned in the event of a conversion error.
fn try_from(json_string: &JsonString) -> Result<Self, Self::Error>
[src]
impl TryFrom<JsonString> for ZomeApiError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ZomeApiError
impl Send for ZomeApiError
impl Sync for ZomeApiError
impl Unpin for ZomeApiError
impl UnwindSafe for ZomeApiError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,