ruby-grape/grape

View on GitHub
lib/grape/exceptions/invalid_formatter.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Grape
  module Exceptions
    class InvalidFormatter < Base
      def initialize(klass, to_format)
        super(message: compose_message(:invalid_formatter, klass: klass, to_format: to_format))
      end
    end
  end
end