Skip to main content
Mutating functions return ok, errorCode or ok, value, errorCode. Codes are plain strings from UgCore.Enums.Errors, typed as UgErrorCode. They are the only failure detail a client ever receives.

Errors that raise

Wrong API usage is a programmer error, not a result. It raises with a [ug-core] prefix and a trace pointing at your code: