Zimbra-Community/js-zimbra

View on GitHub
lib/errors/response.js

Summary

Maintainability
A
0 mins
Test Coverage
var errorFactory = require('error-factory');

/**
 * Response Errors
 *
 */

/**
 * The request is a BatchRequest, but we didn't found a BatchResponse.
 * @constructor
 */

var NoBatchResponse = errorFactory(
    'noBatchResponse',
    {
        'message': 'The request is a BatchRequest, but we found no' +
        ' BatchResponse in the response: {{response}}'
    }
);

module.exports = {

    NoBatchResponse: NoBatchResponse

};