Exception: TingYun::Support::Exception::InternalAgentError

Inherits:
StandardError
  • Object
show all
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.

Instance Method Summary collapse

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