match: remove useless errors module & clean up

This commit is contained in:
wukko
2024-05-15 22:36:24 +06:00
parent c2678888be
commit b4364c4921
2 changed files with 28 additions and 23 deletions

View File

@@ -1,11 +0,0 @@
import loc from "../../localization/manager.js";
export function errorUnsupported(lang) {
return loc(lang, 'ErrorUnsupported');
}
export function brokenLink(lang, host) {
return loc(lang, 'ErrorBrokenLink', host);
}
export function genericError(lang, host) {
return loc(lang, 'ErrorBadFetch', host);
}