Sha256: 9e121ffb3e018207594b031d46d8f4bb4d6c4c57bde1431fc7265f05053e6b8d
Contents?: true
Size: 476 Bytes
Versions: 2
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true module Grape module Exceptions class MissingGroupType < Base def initialize super(message: compose_message(:missing_group_type)) end end end end Grape::Exceptions::MissingGroupTypeError = Class.new(Grape::Exceptions::MissingGroupType) do def initialize(*) super warn '[DEPRECATION] `Grape::Exceptions::MissingGroupTypeError` is deprecated. Use `Grape::Exceptions::MissingGroupType` instead.' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
grape-1.7.1 | lib/grape/exceptions/missing_group_type.rb |
grape-1.7.0 | lib/grape/exceptions/missing_group_type.rb |