john-goldsmith/vscode-aws-cloudformation-auto-template-generator

View on GitHub
src/errors/access-key-id-missing.ts

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%
import BaseError from './base'

/**
 * @param {string} [message]
 */
export default class AccessKeyIdMissingError extends BaseError {

  constructor(message = 'Access key ID missing') {
    super(message)
    if (Error.captureStackTrace) {
      Error.captureStackTrace(this, AccessKeyIdMissingError)
    }
    // this.date = new Date()
    // this.code = ...
    this.name = this.constructor.name
  }

}