Sha256: 2d0cf0e44ce63ef07f822e3e53e53b85d8de6317f95821701ad5c5d679eba208

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

module Ashikawa
  module Core
    # The client had an error in the request
    class ClientError < RuntimeError
      # Create a new instance
      #
      # @param [Integer] status
      # @return RuntimeError
      # @api private
      def initialize(description)
        @description = description
      end

      # String representation of the exception
      #
      # @return String
      # @api private
      def to_s
        @description
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ashikawa-core-0.8.0 lib/ashikawa-core/exceptions/client_error.rb