Module: BatchApi::Errors::BatchError
- Included in:
- BadOptionError, MalformedOperationError, NoOperationsError, OperationLimitExceeded
- Defined in:
- lib/batch_api/batch_error.rb
Overview
Public: a module that tags Batch API errors and provides a default status.
Instance Method Summary collapse
-
#status_code ⇒ Object
Public: the status code for this type of error.
Instance Method Details
#status_code ⇒ Object
Public: the status code for this type of error. Subclasses can change this as desired.
8 |
# File 'lib/batch_api/batch_error.rb', line 8 def status_code; 500; end |