Struct odoo_api::jsonrpc::JsonRpcErrorData
source · pub struct JsonRpcErrorData {
pub name: String,
pub debug: String,
pub message: String,
pub arguments: Vec<Value>,
pub context: Map<String, Value>,
}
Expand description
A struct representing the low-level error information
See: odoo/http.py
Fields§
§name: String
The module? and type of the object where the exception was raised
For example:
builtins.TypeError
odoo.addons.account.models.account_move.AccountMove
debug: String
The Python exception stack trace
message: String
The Python exception message (e.g. str(exception)
)
arguments: Vec<Value>
The Python exception arguments (e.g. excetion.args
)
context: Map<String, Value>
The Python exception context (e.g. excetion.context
)
Trait Implementations§
source§impl Debug for JsonRpcErrorData
impl Debug for JsonRpcErrorData
source§impl<'de> Deserialize<'de> for JsonRpcErrorData
impl<'de> Deserialize<'de> for JsonRpcErrorData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<JsonRpcErrorData> for JsonRpcErrorData
impl PartialEq<JsonRpcErrorData> for JsonRpcErrorData
source§fn eq(&self, other: &JsonRpcErrorData) -> bool
fn eq(&self, other: &JsonRpcErrorData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.