Skip to content

Interface: StateError ​

An error for one rejected component update. Other updates in the same batch may succeed.

Iframe embeds report these errors through ridge:error messages. The JavaScript embed reports them through stateerror events and the result of setState or setFilters.

Properties ​

PropertyTypeDescription
codeStateErrorCodeStable error identifier. Use this field to choose how to handle the rejection.
idstringThe component id whose write was rejected.
messagestringAn error message prefixed with [Ridge AI], for logs and developer tools.