Exception: Droonga::AddHandler::MissingPrimaryKeyParameter
- Inherits:
-
BadRequest
- Object
- StandardError
- MessageProcessingError
- BadRequest
- Droonga::AddHandler::MissingPrimaryKeyParameter
- Defined in:
- lib/droonga/plugin/handler/add.rb
Constant Summary
Constants inherited from BadRequest
Constants inherited from MessageProcessingError
MessageProcessingError::STATUS_CODE
Instance Attribute Summary
Attributes inherited from MessageProcessingError
Instance Method Summary collapse
-
#initialize(table_name) ⇒ MissingPrimaryKeyParameter
constructor
A new instance of MissingPrimaryKeyParameter.
Methods inherited from MessageProcessingError
#name, #response_body, #status_code
Constructor Details
#initialize(table_name) ⇒ MissingPrimaryKeyParameter
Returns a new instance of MissingPrimaryKeyParameter.
34 35 36 37 |
# File 'lib/droonga/plugin/handler/add.rb', line 34 def initialize(table_name) super("\"key\" must be specified. " + "The table #{table_name.inspect} requires a primary key for a new record.") end |