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

Instance Method Details

#status_codeObject

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