open-consul/ui-v2/app/services/error.js

9 lines
173 B
JavaScript

import Service from '@ember/service';
import error from 'consul-ui/utils/error';
export default Service.extend({
execute: function(obj) {
return error(obj);
},
});