open-nomad/ui/app/utils/no-leader-error.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
263 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import AdapterError from '@ember-data/adapter/error';
2018-07-31 21:32:17 +00:00
export const NO_LEADER = 'No cluster leader';
export default class NoLeaderError extends AdapterError {
message = NO_LEADER;
}