Sha256: 8e2cce4678701bed85b4686c6634ff6bef83bc7a1f2508f493f2bd2d1aa4c5f8
Contents?: true
Size: 811 Bytes
Versions: 35
Compression:
Stored size: 811 Bytes
Contents
module Flydata class AgentError < StandardError def self.description text = <<-EOM Fix the issue and try again. If the problem continues, please contact support@flydata.com EOM flydata_log = File.join(FLYDATA_HOME, 'flydata.log') if File.exists?(flydata_log) text += <<-EOM Also check the Agent log. Log path: #{flydata_log} EOM end text end def description if instance_variable_defined?(:@description) && @description @description else self.class.description end end attr_writer :description end class ServerDataProcessingTimeout < AgentError def initialize(message, options = {}) super(message) @state = options[:state] end attr_reader :state end class DumpParseError < AgentError end end
Version data entries
35 entries across 35 versions & 1 rubygems