MitocGroup/deep-framework

View on GitHub
src/deep-security/lib/Exception/AuthException.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * Created by mgoria on 6/30/15.
 */

'use strict';

import {Exception} from './Exception';

/**
 * Thrown when auth error occurs
 */
export class AuthException extends Exception {
  /**
   * @param {Object} error
   */
  constructor(error) {
    super(`Error on authentication. ${error}`);
  }
}