errorParams property

Map<String, dynamic>? errorParams
getter/setter pair

Structured parameters from the server error body, when present.

Pin & Save cap errors (ERR_PINNED_MESSAGES_LIMIT_EXCEEDED, ERR_SAVED_MESSAGES_LIMIT_EXCEEDED) carry {"limit": <n>} here so UIs can interpolate the cap without parsing the message string. Null for errors that carry no parameters — existing behavior is unchanged.

Implementation

Map<String, dynamic>? errorParams;