Expand description
Return codes (“Rückmeldungen”) of HIRMG and HIRMS, Formals 2017 B.7.
A ReturnCode keeps everything the bank sent in one code line: the
four-digit code, its text, the reference element, the parameters, and
what it refers to (Scope: the whole message for HIRMG, one customer
segment for HIRMS). Its Class and Kind are derived from the
stored code and parameters, so a code this client does not know loses
nothing. Code meanings: Rückmeldungscodes 2026-02-03 (RM), B.1–B.4.
Structs§
- Code
- A four-digit return code (
dig 4, Formals B.7.5.1), kept verbatim. - Return
Code - One code line of HIRMG or HIRMS (“Rückmeldung”), with everything the bank sent in it.
Enums§
- Category
- What a caller can do about an error: one category per different
reaction (docs/return-codes-design.md section 2). Every
FinTSErrorhas one (FinTSError::kind); a bank error’s comes from its selectedReturnCode. - Class
- The class of a return code: its first digit (Formals B.7.5.1, RM B.1).
- Client
Warning - What the client noticed about an answer without the bank saying so. Never an error: the answer is used as decoded.
- Credentials
- Which credentials problem (
Category::Credentials). - Kind
- The meaning of a return code this client knows, derived from the code
and its parameters (RM).
Kind::Otherfor every code not listed; its code, class, text and parameters stay on theReturnCode. - Notice
- A message for the caller: a bank code that is neither success, error nor consumed by the protocol (Formals B.7.5.1: show every bank message), or a warning the client itself raised about an answer. Examples of bank codes: 3050 (order version outdated), 3060, 3072, 3075, 3010, 3957, 3958.
- Notice
Dialog - Which dialog of an operation a
Noticecame from. - Scope
- What a return code refers to.