ForestAdmin/toolbelt

View on GitHub
src/errors/application-token/unable-to-create-application-token-error.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const ForestCLIError = require('../forest-cli-error');

class UnableToCreateApplicationTokenError extends ForestCLIError {
  /**
   * @param {{
   *  reason?: string;
   *  possibleSolution?: string
   * }} [options]
   */
  constructor(options) {
    super('Unable to create an application token on Forest Admin', undefined, options);
    this.name = 'UnableToCreateApplicationTokenError';
  }
}

module.exports = UnableToCreateApplicationTokenError;