Skip to content

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

GLN_API const char* GLN_CALL gln_get_error_detail_ebics_order_id(const gln_error_detail_t* in_detail);
  • Family: Error and interrupt accessors
  • Return type: const char*

Purpose

Returns the optional EBICS order ID from a GLN_ERROR_DETAIL_EBICS_STATUS payload.

Return

Returns the EBICS order ID from the error detail, or NULL when it is not available.

TypeNullabilityOwnership
const char*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_detailinputconst gln_error_detail_t*nullableborrowed

Notes

Passing NULL for in_detail is allowed and returns NULL.

The accessor returns NULL for any detail kind other than GLN_ERROR_DETAIL_EBICS_STATUS, or when the EBICS status payload has no order ID.

The returned string is borrowed from the owning detail object. Copy it before calling gln_release_error on the owning error or destroying the backend result envelope that owns that error.

See Also