Skip to main content

handle_error_envelope_command

Function handle_error_envelope_command 

Source
pub fn handle_error_envelope_command(
    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

Handles error envelope command.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::handle_error_envelope_command can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::handle_error_envelope_command(todo!(), todo!(), "example", todo!(), todo!(), todo!());