Exception: Grape::Exceptions::InvalidWithOptionForRepresent

Inherits:
Base
  • Object
show all
Defined in:
lib/grape/exceptions/invalid_with_option_for_represent.rb

Constant Summary

Constants inherited from Base

Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE

Instance Attribute Summary

Attributes inherited from Base

#headers, #message, #status

Instance Method Summary collapse

Methods inherited from Base

#[]

Constructor Details

#initializeInvalidWithOptionForRepresent

Returns a new instance of InvalidWithOptionForRepresent.



5
6
7
# File 'lib/grape/exceptions/invalid_with_option_for_represent.rb', line 5

def initialize
  super(message: compose_message("invalid_with_option_for_represent"))
end