Kinvey/js-sdk

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

Summary

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

export class ServerError extends KinveyError {
  constructor(message = 'An error occurred on the server.', debug?: string) {
    super(message, debug);
    this.name = 'ServerError';
  }
}