JSFiddle - React, Tailwind, and code Playground
by tabalinas
JavaScript
function DXError() {
return {
name: "System Error",
level: "Show Stopper",
message: "Error detected. Please contact the system administrator.",
htmlMessage: "Error detected. Please contact the <a href=\"mailto:[email protected]\">system administrator</a>.",
toString: function(){return this.name + ": " + this.message;}
};
}
throw new DXError();