Skip to main content

emitError

Produce error messages just like Simply DJS

Program

const simplydjs = require("simply-djs");
simplydjs.emitError({ name: "Test", tip: "This is just to test" })
WARNING

This may cause your entire project to stop as it emits an error not logging in the console.

Arguments:

simplydjs.emitError(
{
name: string,
tip: string
}
)
  • name: string
  • tip: string