UI - control groups (#4947)

* add routes for control groups in tools, settings, access (#4718)
* UI control group - storage, request, authorization, and unwrapping (#4899)
* UI control groups config (#4927)
This commit is contained in:
Matthew Irish
2018-07-18 20:59:04 -05:00
committed by GitHub
parent 7af1c09e72
commit 8a8c932ea2
68 changed files with 1910 additions and 42 deletions

View File

@@ -0,0 +1,16 @@
import Ember from 'ember';
export default class ControlGroupError extends Ember.Error {
constructor(wrapInfo) {
let {accessor, creation_path, creation_time, token, ttl} = wrapInfo;
super();
this.message = 'Control Group encountered';
// add items from the wrapInfo object to the error
this.token = token;
this.accessor = accessor;
this.creation_path = creation_path;
this.creation_time = creation_time;
this.ttl = ttl;
}
}