class Grape::Exceptions::InvalidFormatter

Public Class Methods

new(klass, to_format) click to toggle source
Calls superclass method Grape::Exceptions::Base.new
# File lib/grape/exceptions/invalid_formatter.rb, line 4
def initialize(klass, to_format)
  super(message: compose_message(:invalid_formatter, klass: klass, to_format: to_format))
end