Struct tauri::InvokeError
source · pub struct InvokeError(_);
Expand description
Error response from an InvokeMessage
.
Implementations§
source§impl InvokeError
impl InvokeError
sourcepub fn from_serde_json(error: Error) -> Self
pub fn from_serde_json(error: Error) -> Self
Create an InvokeError
as a string of the serde_json::Error
message.
sourcepub fn from_anyhow(error: Error) -> Self
pub fn from_anyhow(error: Error) -> Self
Create an InvokeError
as a string of the anyhow::Error
message.
Trait Implementations§
source§impl Debug for InvokeError
impl Debug for InvokeError
source§impl From<Error> for InvokeError
impl From<Error> for InvokeError
source§impl From<InvokeError> for InvokeResponse
impl From<InvokeError> for InvokeResponse
source§fn from(error: InvokeError) -> Self
fn from(error: InvokeError) -> Self
Converts to this type from the input type.