emitError
Produce error messages just like Simply DJS
Program
- Javascript
- Typescript
const simplydjs = require("simply-djs");
import simplydjs from "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