Exception: RESTFramework::Errors::InvalidBulkParametersError
- Inherits:
-
BaseError
- Object
- StandardError
- BaseError
- RESTFramework::Errors::InvalidBulkParametersError
- Defined in:
- lib/rest_framework/errors.rb
Instance Method Summary collapse
-
#initialize(detail = nil) ⇒ InvalidBulkParametersError
constructor
A new instance of InvalidBulkParametersError.
- #message ⇒ Object
Constructor Details
#initialize(detail = nil) ⇒ InvalidBulkParametersError
Returns a new instance of InvalidBulkParametersError.
18 19 20 |
# File 'lib/rest_framework/errors.rb', line 18 def initialize(detail = nil) @detail = detail end |
Instance Method Details
#message ⇒ Object
22 23 24 25 26 |
# File 'lib/rest_framework/errors.rb', line 22 def msg = "Invalid request parameters for bulk action." msg += " #{@detail}" if @detail msg end |