Sha256: d2f4dc90692a9a4585d0a25bc8e1ac25d9ea62e2612433ec8188f53bc5922061

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

# frozen_string_literal: true

module Regio
  class NotFound < StandardError
    def initialize(msg = 'Not found')
      super
    end

    def http_status_code
      403
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
regio-0.3.5 lib/regio/errors/not_found.rb
regio-0.3.4 lib/regio/errors/not_found.rb
regio-0.3.3 lib/regio/errors/not_found.rb
regio-0.3.2 lib/regio/errors/not_found.rb
regio-0.3.1 lib/regio/errors/not_found.rb
regio-0.3.0 lib/regio/errors/not_found.rb
regio-0.2.0 lib/regio/errors/not_found.rb
regio-0.1.1 lib/regio/errors/not_found.rb