pub fn error_envelope(
error_type: Option<&str>,
error_code: Option<&str>,
message: Option<&str>,
actor_scope: Option<&str>,
tenant_scope: Option<&str>,
details_json: Option<&str>,
) -> Option<String>Expand description
Performs error envelope.
§Parameters
error_type: Input consumed bycrate::runtime::json_commands::error_envelope.error_code: Input consumed bycrate::runtime::json_commands::error_envelope.message: Input consumed bycrate::runtime::json_commands::error_envelope.actor_scope: Input consumed bycrate::runtime::json_commands::error_envelope.tenant_scope: Input consumed bycrate::runtime::json_commands::error_envelope.details_json: Input consumed bycrate::runtime::json_commands::error_envelope.
§Returns
Returns Some when crate::runtime::json_commands::error_envelope can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::error_envelope.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::error_envelope(todo!(), todo!(), "example", todo!(), todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.