Sha256: 7b426294f67d077324cb4ababc85faa8807973a97bd1a46ea82b0796f18feae9

Contents?: true

Size: 355 Bytes

Versions: 12

Compression:

Stored size: 355 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

12 entries across 12 versions & 2 rubygems

Version Path
grape-swagger-2.1.1 lib/grape-swagger/errors.rb
grape-swagger-2.0.3 lib/grape-swagger/errors.rb
grape-swagger-2.0.2 lib/grape-swagger/errors.rb
grape-swagger-2.0.1 lib/grape-swagger/errors.rb
grape-swagger-2.0.0 lib/grape-swagger/errors.rb
grape-swagger-1.6.1 lib/grape-swagger/errors.rb
grape-swagger-1.6.0 lib/grape-swagger/errors.rb
gitlab-grape-swagger-1.5.0 lib/grape-swagger/errors.rb
grape-swagger-1.5.0 lib/grape-swagger/errors.rb
grape-swagger-1.4.2 lib/grape-swagger/errors.rb
grape-swagger-1.4.1 lib/grape-swagger/errors.rb
grape-swagger-1.4.0 lib/grape-swagger/errors.rb