code: function AdapterNotFoundError(adapterName, innerError) {
    /**
     * The name of the adapter that was not found.
     * @type {?string}
     */
    this.adapterName = adapterName;
    /**
     * The inner error that generated the current error.
     * @type {?Error}
     */
    this.innerError = innerError;
  
    expect(arguments).to.have.length.below(
      3,
      'Invalid arguments length when creating a new ' +
      'EntityNotFoundError (it has to be passed less than 3 arguments)'
    );
  
    this.name = 'AdapterNotFoundError';
  
    this.message = 'Cannot find Adapter';
    if (adapterName) {
      expect(adapterName).to.be.a(
        'string',
        'Invalid argument "adapterName" when creating a new ' +
        'AdapterNotFoundError (it has to be a string)'
      );
      this.message += ' "' + adapterName + '"';
    }
  
    this.stack = (new Error(this.message)).stack;
    if (innerError) {
      expect(innerError).to.be.an.instanceof(
        Error,
        'Invalid argument "innerError" when creating a new ' +
        'AdapterNotFoundError (it has to be an Error)'
      );
      this.stack += '\n\n' + innerError.stack;
    }
  }
docs: Error class to be used when an Adapter was referenced and the platform
  was not able to find it.
  @constructor
  @extends Error
  @param {?string} [adapterName] The adapter name to be displayed.
  @param {?Error} [innerError] The inner error.
  @memberof module:back4app-entity/models/errors
  @example
  if (settings.ADAPTERS.default) {
  return settings.ADAPTERS.default;
  } else {
  throw new errors.AdapterNotFoundError('default');
  }