Sha256: c5af2525678a502b961cd5a0b75930889ddbe6b7332dbd3cfc145cd5d7464f30

Contents?: true

Size: 466 Bytes

Versions: 12

Compression:

Stored size: 466 Bytes

Contents

module CloudControl
  module Exceptions
    CODES = {
      "REASON_10" => "Failure at network",
      "REASON_20" => "Unrecoverable failure cause by a timeout.",
      "REASON_250" => "Network does not exist for this organization.",
      "REASON_320" => "Invalid Input Data - SourceIP must be a valid IPv4 address."
    }

    class ApiError < StandardError; end
    class ConnectionError < StandardError; end
    class RequestError < StandardError; end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cloudcontrol_sdk-0.4.3 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.4.2 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.4.1 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.4.0 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.12 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.11 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.10 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.9 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.8 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.7 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.6 lib/cloudcontrol/exceptions.rb
cloudcontrol_sdk-0.3.5 lib/cloudcontrol/exceptions.rb