Sha256: b7d86a2c8998c5353f3cb97369541fb26760e53c4c90f5027f7d9f64f31e9dc2
Contents?: true
Size: 1.46 KB
Versions: 3
Compression:
Stored size: 1.46 KB
Contents
# encoding: utf-8 # This file is distributed under Ting Yun's license terms. # module TingYun module Support module Exception # An exception that is thrown by the server, drop the data. class UnKnownServerException < StandardError; end # Used to blow out of a periodic task without logging a an error, such as for routine # failures. class ServerConnectionException < StandardError; end # When a post is either too large or poorly formatted we should # drop it and not try to resend class UnrecoverableServerException < ServerConnectionException; end # An unrecoverable client-side error that prevents the agent from continuing class UnrecoverableAgentException < ServerConnectionException; end # An error while serializing data for the collector class SerializationError < StandardError; end class AppSessionKeyError < StandardError; end #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. class InternalAgentError < StandardError def initialize(msg=nil) super("Ruby agent internal error. Please contact support referencing this error.\n #{msg}") end end #跨应用错误 class InternalServerError < StandardError end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tingyun_rpm-3.2.0 | lib/ting_yun/support/exception.rb |
tingyun_rpm-1.6.1 | lib/ting_yun/support/exception.rb |
tingyun_rpm-1.5.0 | lib/ting_yun/support/exception.rb |