KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /home/queenjbs/www/FusionChart/Code/RoR/SampleApp/lib/fusioncharts/exporter/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/FusionChart/Code/RoR/SampleApp/lib/fusioncharts/exporter/error_messages.rb
=begin

  Copyright (c) 2009 Infosoft Global Private Limited
 
=end
# Deprecated. Please use FcError class.
# Holds the error messages in the form of a hash. 
# Contains method to obtain the message corresponding to a particular code.
class Fusioncharts::Exporter::ErrorMessages
    @@err_messages={"E100"=> "Insufficient Data.",
    "E101" => "Width/height not provided.",
    "E102" => "Insufficient export parameters.",
    "E400" => "Bad Request.",
    "E401"=> "Unauthorized Access.",
    "E403"=> "Access Forbidden.",
    "E404" => "Export Resource not found.",
    "E507" => "Insufficient Storage.",
    "E508" => "Server Directory does not exist.",
    "W509" => "File already exists.",
    "W510" => "Export handler's Overwrite setting is on. Trying to overwrite.",
    "E511" => "Overwrite forbidden. File cannot be overwritten."
    }
  # Returns the error message for a particular error code
  # - parameter error_code : The code for the error whose message is required.  
  def self.get_error_message(error_code)
    err_message = @@err_messages[error_code.to_s]
    return err_message
  end    
end

Anon7 - 2021