UNPKG

vasille

Version:

The first Developer eXperience Orientated front-end framework (core library).

17 lines (16 loc) 558 B
const reportIt = "Report it here: https://gitlab.com/vasille-js/vasille-js/-/issues"; export function notOverwritten() { console.error("Vasille-SFP: Internal error", "Must be overwritten", reportIt); return "not-overwritten"; } export function internalError(msg) { console.error("Vasille-SFP: Internal error", msg, reportIt); return "internal-error"; } export function userError(msg, err) { console.error("Vasille-SFP: User error", msg); return err; } export function wrongBinding(msg) { return userError(msg, "wrong-binding"); }