AMQ::Protocol::Error < StandardError
from /home/chedong/.local/share/rdoc
| Use Case | Command | Description |
|---|---|---|
| Create a new error instance | AMQ::Protocol::Error.new | Instantiate a protocol error with optional message |
| Inherit from StandardError | class MyError < AMQ::Protocol::Error | Create a custom subclass for specific protocol errors |
| Access default message constant | AMQ::Protocol::Error::DEFAULT_MESSAGE | Retrieve the default error message |
| List all subclasses | AMQ::Protocol::Error.subclasses | Get array of classes that inherit from this error (if defined) |
DEFAULT_MESSAGE — [not documented] (default error message)[] — create an error with a specific message (alias for new?)inherited — callback when a subclass is creatednew — constructor, creates a new AMQ::Protocol::Error instancesubclasses_with_values — returns subclasses that have defined values (e.g., error codes)Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-30 04:16 @216.73.217.106
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format