Sha256: 799069a8c3ef57e008a70f9ed309e1194d0dd026d078f7023362ff03a460b075

Contents?: true

Size: 353 Bytes

Versions: 22

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

module GrapeSwagger
  module Errors
    class UnregisteredParser < StandardError; end
    class SwaggerSpec < StandardError; end
    class SwaggerSpecDeprecated < SwaggerSpec
      class << self
        def tell!(what)
          warn "[GrapeSwagger] usage of #{what} is deprecated"
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
grape-swagger-0.27.1 lib/grape-swagger/errors.rb
grape-swagger-0.27.0 lib/grape-swagger/errors.rb