UNPKG

@iak-id/iak-api-server-js

Version:

Node.js-based SDK (server-side-only) to easily help integrating IAK API Services with your app.

13 lines (10 loc) 219 B
class ContentTypeError extends Error { constructor() { super('Content or fields must be an object.'); this.status = 'failed'; this.code = 400; } } module.exports = { ContentTypeError, };