unreachableException.js
303 Bytes
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
var UnreachableException = function UnreachableException(value) {
_classCallCheck(this, UnreachableException);
return new Error("unreachable case: ".concat(JSON.stringify(value)));
};
export { UnreachableException as default };