"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.match=function e(r,t){if(r in t){let e=t[r];for(var n=arguments.length,a=new Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];return"function"==typeof e?e(...a):e}let c=new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(c,e),c};
//# sourceMappingURL=match.js.map
