mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
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:
16
ui/app/lib/control-group-error.js
Normal file
16
ui/app/lib/control-group-error.js
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user