Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API size_t GLN_CALL gln_get_error_detail_status_parameter_count(
    const gln_error_detail_t* in_detail,
    size_t                    in_index);
  • Family: Count and at accessors
  • Return type: size_t

Purpose

Returns the number of parameter strings stored on one status row in a FinTS rejected or common rejected error detail payload.

Return

Returns the number of rows or entries materialized in the supplied typed view.

TypeNullabilityOwnership
size_tvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_detailinputconst gln_error_detail_t*nullableborrowed
in_indexinputsize_tvaluevalue

Notes

Passing NULL for in_detail is allowed and returns 0.

The accessor returns 0 for detail kinds other than GLN_ERROR_DETAIL_FINTS_REJECTED or GLN_ERROR_DETAIL_COMMON_REJECTED, and when in_index is outside gln_get_error_detail_status_count(in_detail).

Use this count as the exclusive upper bound for gln_get_error_detail_status_parameter_at.

See Also