map_error_code

Function map_error_code 

Source
pub(crate) fn map_error_code(error_code: i64, ctx: ErrorContext) -> SzError
Expand description

Maps Senzing error codes to SzError types

This function is auto-generated from szerrors.json and maps each native Senzing error code to the appropriate Rust error variant.