DiscordPHP-BridgeBot Documentation

ActionError extends RuntimeException
in package

FinalYes

An action failing for a reason the person who typed it should read.

Distinct from every other exception on purpose: the adapters relay an ActionError's message straight into chat, and deliberately do not relay anything else. A Helix client error or a null dereference gets a flat apology in chat and the detail in the log, because exception text is written for whoever is reading a stack trace, and can carry internals — a URL with a token in the query string, a file path — that has no business in a public Twitch channel.

Tags
author

Valithor Obsidion valithor@discordphp.org

Table of Contents

On this page
  • Table Of Contents

Search results