rangoo94/easen-tools

View on GitHub
packages/core/src/ServiceError/ServiceBadRequestError.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const createServiceErrorSubClass = require('../createServiceErrorSubClass')

/**
 * Error, which says that the request was malformed,
 * i.e. action parameters are invalid.
 *
 * @class ServiceBadRequestError
 * @extends ServiceError
 */
module.exports = createServiceErrorSubClass(
  'ServiceBadRequestError',
  400
)