Skip to main content

add_standardize_call

Function add_standardize_call 

Source
pub fn add_standardize_call(
    config: &str,
    params: AddStandardizeCallParams<'_>,
) -> Result<(String, Value)>
Expand description

Add a new standardize call

Creates a new standardize call linking a function to a feature or element with an execution order.

§Arguments

  • config - Configuration JSON string
  • params - Call parameters (ftype_code, felem_code, exec_order, sfunc_code)

§Returns

Tuple of (modified_config, new_sfcall_record)

§Errors

  • InvalidParameter if both ftype_code and felem_code are specified or both missing
  • Duplicate if exec_order is already taken for the feature/element
  • NotFound if function/feature/element codes don’t exist