errorDetails := get_error_details(Args{error_id: "abc123def456"})
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Error Title: " + errorDetails.error_title,
})
Inputs
Error IDRequired
Identifier returned by Log Error.
Example: abc123def456
Outputs
Error Title
Title of the logged error.
Error Message
Error message content.
Error Type
Severity level (numeric).
Component ID
Component associated with the error.
Build a bot using blocks like Get Error Details
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
ID:
get_error_detailsInputs
| Field | InventScript name | Value |
|---|---|---|
| Error ID | error_id | e.g. "abc123def456" |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Error Title | error_title | |
| Error Message | error_message | |
| Error Type | error_type | |
| Component ID | error_component_id |
Example InventScript
More utilities blocks
Log ErrorLog an error to the errors dashboard.Discord API PingMeasure current patency to the Discord API.Change Bot StatusUpdate the bot's presence and status text.Get Server CountGet the number of servers the bot is in.Custom LoopLoop over a customized range of numbers.Check PermissionCheck if a permission exists in a bitfield.Member/Role Has PermissionsCheck if a member or role has specific permissions.Redact SecretRedact a secret (e.g. example -> e*****e).Get Bot DetailsGet cached details of the current branch's bot user.Generate Snowflake IDGenerate a unique Snowflake-like ID.Update Local VariableSet a local variable to a new value.Append New Line to Local VariableAppend text to a local variable on a new line.CommentAdd a note or comment to your flow. This block does nothing when run.Increment or Decrement Local VariableIncrement or decrement a numeric local variable by a value.