open-nomad/ui/app/utils/no-leader-error.js
2018-08-20 14:11:50 -07:00

8 lines
170 B
JavaScript

import { AdapterError } from 'ember-data/adapters/errors';
export const NO_LEADER = 'No cluster leader';
export default AdapterError.extend({
message: NO_LEADER,
});