Skip to content

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

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

Purpose

Returns the number of warning strings stored 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

Notes

Passing NULL for in_detail is allowed and returns 0.

The count is non-zero only for GLN_ERROR_DETAIL_FINTS_REJECTED and GLN_ERROR_DETAIL_COMMON_REJECTED payloads. Other detail kinds return 0.

Use this count as the exclusive upper bound for gln_get_error_detail_warning_at.

See Also