Sha256: 250ba9b895bc54bce07ac5036687477766fa6fcdbd51036f49c3841291f80a94

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

module Opsource
  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

1 entries across 1 versions & 1 rubygems

Version Path
didata_cloud_sdk-0.3.1 lib/opsource/exceptions.rb