Sha256: 5e24353365b0191d17f0833faedf8a337f47eb98bba445fd6b23318b0a32bedf
Contents?: true
Size: 806 Bytes
Versions: 11
Compression:
Stored size: 806 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
11 entries across 11 versions & 1 rubygems