Sha256: 0416ec6167163d710c9e65fd61e4dc5c4b1dca7e26bfa6d6062abfd5bb6a9a8c

Contents?: true

Size: 198 Bytes

Versions: 8

Compression:

Stored size: 198 Bytes

Contents

# frozen_string_literal: true

module Regio
  class Unprocessable < StandardError
    def initialize(msg = 'Unprocessable')
      super
    end

    def http_status_code
      422
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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