Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

users package

Function

NewErrNotWhitelisted

func NewErrNotWhitelisted(_ int, caller realm) ErrNotWhitelisted
Ask AI Claude ChatGPT

NewErrNotWhitelisted constructs the error with the caller's realm identity captured as a string at construction time. The _ int discriminator keeps this non-crossing (a non-crossing function can't take a `realm`-named-`cur` first param, so we use the standard _ int, rlm realm shape).

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/sys/users.NewErrNotWhitelisted(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/sys/users, for example a function call with arguments.