Kinvey/js-sdk

View on GitHub
packages/js-sdk/src/errors/writesToCollectionDisallowed.ts

Summary

Maintainability
A
40 mins
Test Coverage
import { KinveyError } from './kinvey';

export class WritesToCollectionDisallowedError extends KinveyError {
  constructor(message = 'This collection is configured to disallow any modifications to an existing entity or creation of new entities.', debug?: string) {
    super(message, debug);
    this.name = 'WritesToCollectionDisallowedError';
  }
}