csblogs/api-server

View on GitHub
src/errors/feed-loop-error.js

Summary

Maintainability
A
0 mins
Test Coverage
export default function FeedLoopError(domain) {
  this.name = 'FeedLoopError';
  this.message = 'New User creation failed. See ValidationErrors';
  this.validationErrors = {
    blogFeedURI: `cannot originate from ${domain}`
  };
}
FeedLoopError.prototype = new Error();