ForestAdmin/lumber

View on GitHub
services/prompter/prompter-error.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class PrompterError extends Error {
  constructor(errorMessage, logs) {
    super(errorMessage);
    this.errorCode = 'unexpected_error';
    this.errorMessage = errorMessage;
    this.logs = logs;
  }
}

module.exports = PrompterError;