• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

boston-library / curator / #634602299

07 Aug 2025 08:58PM UTC coverage: 89.936%. First build
#634602299

Pull #379

travis-ci

Pull Request #379: Allmaps georef indexing

47 of 63 new or added lines in 8 files covered. (74.6%)

5514 of 6131 relevant lines covered (89.94%)

366.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/lib/curator/exceptions/remote_service_errors.rb
1
# frozen_string_literal: true
2

3
module Curator::Exceptions
1✔
4
  class SolrUnavailable < CuratorError
1✔
5
    def message
1✔
6
      'Solr is not available'
×
7
    end
8
  end
9

10
  class AuthorityApiUnavailable < CuratorError
1✔
11
    def message
1✔
12
      'Authority API is not available'
×
13
    end
14
  end
15

16
  class ArkManagerApiUnavailable < CuratorError
1✔
17
    def message
1✔
18
      'Ark Manager API is not available'
×
19
    end
20
  end
21

22
  class AviProcessorApiUnavailable < CuratorError
1✔
23
    def message
1✔
24
      'AVI Processor API is not available'
×
25
    end
26
  end
27

28
  class IIIFServerUnavailable < CuratorError
1✔
29
    def message
1✔
30
      'IIIF Server is not available'
×
31
    end
32
  end
33

34
  class IIIFManifestEndpointUnavailable < CuratorError
1✔
35
    def message
1✔
36
      'IIIF Manifest Endpoint is not available'
×
37
    end
38
  end
39

40
  class AllmapsAnnotationsUnavailable < CuratorError
1✔
41
    def message
1✔
NEW
42
      'Allmaps Annotations endpoint is not available'
×
43
    end
44
  end
45

46
  # NOTE: do not inherit sub classes from this
47
  class RemoteServiceError < CuratorError
1✔
48
    attr_reader :json_response, :code
1✔
49

50
    def initialize(msg = 'Error Occurred With RemoteService Client', json_response = {}, code = 500)
1✔
51
      @json_response = JSON.pretty_generate(json_response)
1✔
52
      @code = code
1✔
53
      super(msg)
1✔
54
    end
55
  end
56
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc