Class Grape::Exceptions::Base
In: lib/grape/exceptions/base.rb
Parent: StandardError

Methods

Constants

BASE_MESSAGES_KEY = 'grape.errors.messages'.freeze
BASE_ATTRIBUTES_KEY = 'grape.errors.attributes'.freeze
FALLBACK_LOCALE = :en

Attributes

headers  [R] 
message  [R] 
status  [R] 

Public Class methods

Public Instance methods

Protected Instance methods

TODO: translate attribute first if BASE_ATTRIBUTES_KEY.key respond to a string message, then short_message is returned if BASE_ATTRIBUTES_KEY.key respond to a Hash, means it may have problem , summary and resolution

[Validate]