lib/archivesspace/client.rb in archivesspace-client-0.1.6 vs lib/archivesspace/client.rb in archivesspace-client-0.1.7

- old
+ new

@@ -1,22 +1,22 @@ +# frozen_string_literal: true + require 'httparty' require 'json' require 'nokogiri' # mixins required first -require "archivesspace/client/helpers" +require 'archivesspace/client/helpers' -require "archivesspace/client/client" -require "archivesspace/client/configuration" -require "archivesspace/client/request" -require "archivesspace/client/response" -require "archivesspace/client/template" -require "archivesspace/client/version" +require 'archivesspace/client/client' +require 'archivesspace/client/configuration' +require 'archivesspace/client/request' +require 'archivesspace/client/response' +require 'archivesspace/client/template' +require 'archivesspace/client/version' module ArchivesSpace - - class ConnectionError < Exception ; end - class ContextError < Exception ; end - class ParamsError < Exception ; end - class RequestError < Exception ; end - -end \ No newline at end of file + class ConnectionError < RuntimeError; end + class ContextError < RuntimeError; end + class ParamsError < RuntimeError; end + class RequestError < RuntimeError; end +end