Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.9/mongoose/node_modules/bson/src/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.9/mongoose/node_modules/bson/src/error.ts

/** @public */
export class BSONError extends Error {
  constructor(message: string) {
    super(message);
    Object.setPrototypeOf(this, BSONError.prototype);
  }

  get name(): string {
    return 'BSONError';
  }
}

/** @public */
export class BSONTypeError extends TypeError {
  constructor(message: string) {
    super(message);
    Object.setPrototypeOf(this, BSONTypeError.prototype);
  }

  get name(): string {
    return 'BSONTypeError';
  }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists