github.com/outbrain/consul@v1.4.5/ui-v2/app/services/error.js (about) 1 import Service from '@ember/service'; 2 // TODO: This can go? 3 import error from 'consul-ui/utils/error'; 4 export default Service.extend({ 5 execute: function(obj) { 6 return error(obj); 7 }, 8 });