Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.71 KB

core-contract-events.md

File metadata and controls

15 lines (12 loc) · 1.71 KB

core/contract/events

All error contexts · Handling errors

Source-derived code definitions. Messages and metadata can contain runtime values; branch on the code, not on message text. See the source definition for constructors and diagnostic fields.

Code Condition Source
CEV_001 INVALID_SPEC — The declarations cannot be represented without ambiguity or invalid fields. Definition
CEV_002 UNKNOWN_EVENT — No declaration exists at the requested name and occurrence. Definition
CEV_003 DECODE_FAILED — An occurrence does not conform to its selected declaration. Definition
CEV_004 INVALID_FILTER — Filter arguments contain unknown or invalid indexed fields. Definition
CEV_005 AMBIGUOUS_EVENT — More than one declaration accepts the event. Select a definition explicitly. Definition