Exception: TingYun::Support::Exception::InternalAgentError
- Inherits:
-
StandardError
- Object
- StandardError
- TingYun::Support::Exception::InternalAgentError
- Defined in:
- lib/ting_yun/support/exception.rb
Overview
This is the base class for all errors that we want to record , It provides the standard support text at the front of the message, and is used for flagging agent errors when checking queue limits.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ InternalAgentError
constructor
A new instance of InternalAgentError.
Constructor Details
#initialize(msg = nil) ⇒ InternalAgentError
Returns a new instance of InternalAgentError.
38 39 40 |
# File 'lib/ting_yun/support/exception.rb', line 38 def initialize(msg=nil) super("Ruby agent internal error. Please contact support referencing this error.\n #{msg}") end |