Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Class exported by @botmesh/core.
ctx.user
bot.user()
code
try { await ctx.user.set('a..b', 1) } catch (error) { if (error instanceof UserDataError && error.code === 'INVALID_PATH') { ... } }
Error
new UserDataError( code, message, options? ): UserDataError;
UserDataErrorCode
message
string
options?
cause?
unknown
options.cause?
UserDataError
Error.constructor
readonly code: UserDataErrorCode;