Skip to content
RelKit
Esc
↑↓navigate↵open⌘Jpreview
On this page

RELKIT_EVENT_FUNCTION_RESULT_INVALID

Event function returns a value.

Event function returns a value.

What happened

An event function’s handler returns a value on success. Event functions must return nothing.

What to do

Return void from the handler on success, and use declared errors for failures.

Reported by @relkit/cli, relkit/diagnostics.

See all error codes.