[−][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)
Trait Implementations
impl<'a> From<&'a ZomeApiError> for JsonString
[src]
fn from(v: &ZomeApiError) -> JsonString
[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 From<HolochainError> for ZomeApiError
[src]
fn from(holochain_error: HolochainError) -> Self
[src]
impl From<PersistenceError> for ZomeApiError
[src]
fn from(persistence_error: PersistenceError) -> Self
[src]
impl From<JsonError> for ZomeApiError
[src]
impl From<!> for ZomeApiError
[src]
impl From<String> for ZomeApiError
[src]
fn from(s: String) -> ZomeApiError
[src]
impl From<RibosomeErrorCode> for ZomeApiError
[src]
fn from(ribosome_error_code: RibosomeErrorCode) -> ZomeApiError
[src]
impl From<AllocationError> for ZomeApiError
[src]
fn from(allocation_error: AllocationError) -> ZomeApiError
[src]
impl Clone for ZomeApiError
[src]
fn clone(&self) -> ZomeApiError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ZomeApiError> for ZomeApiError
[src]
fn eq(&self, other: &ZomeApiError) -> bool
[src]
fn ne(&self, other: &ZomeApiError) -> bool
[src]
impl Debug for ZomeApiError
[src]
impl Display 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]
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 StructuralPartialEq for ZomeApiError
[src]
impl Error for ZomeApiError
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[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 Serialize for ZomeApiError
[src]
Auto Trait Implementations
impl Send for ZomeApiError
impl Sync for ZomeApiError
impl Unpin for ZomeApiError
impl UnwindSafe for ZomeApiError
impl RefUnwindSafe for ZomeApiError
Blanket Implementations
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> 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 = !
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Clone for T where
T: Clone,
[src]
T: Clone,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,