UNPKG

auspice

Version:

Web app for visualizing pathogen evolution

24 lines (21 loc) 528 B
export class NoContentError extends Error { constructor(...params) { super(...params); } } export class FetchError extends Error { constructor(...params) { super(...params); } } /** * Thrown when a download produces an empty Newick tree. * Usually caused by users trying to download multiple subtrees that do not * share a common ancestor that is "visible" */ export class EmptyNewickTreeCreated extends Error { constructor(...params) { super(...params); this.name = this.constructor.name; } }