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-1.3.1 lib/grape-swagger/errors.rb
grape-swagger-1.3.0 lib/grape-swagger/errors.rb
grape-swagger-1.2.1 lib/grape-swagger/errors.rb
grape-swagger-1.2.0 lib/grape-swagger/errors.rb
grape-swagger-1.1.0 lib/grape-swagger/errors.rb
grape-swagger-1.0.0 lib/grape-swagger/errors.rb
grape-swagger-0.34.2 lib/grape-swagger/errors.rb
grape-swagger-0.34.1 lib/grape-swagger/errors.rb
grape-swagger-0.34.0 lib/grape-swagger/errors.rb
grape-swagger-0.33.0 lib/grape-swagger/errors.rb
grape-swagger-0.32.1 lib/grape-swagger/errors.rb
grape-swagger-0.32.0 lib/grape-swagger/errors.rb
grape-swagger-0.31.1 lib/grape-swagger/errors.rb
grape-swagger-0.31.0 lib/grape-swagger/errors.rb
grape-swagger-0.30.1 lib/grape-swagger/errors.rb
grape-swagger-0.30.0 lib/grape-swagger/errors.rb
grape-swagger-0.29.0 lib/grape-swagger/errors.rb
grape-swagger-0.28.0 lib/grape-swagger/errors.rb
grape-swagger-0.27.3 lib/grape-swagger/errors.rb
grape-swagger-0.27.2 lib/grape-swagger/errors.rb