ODError class
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This is an Open Ticket error.
It is used to render and log Node.js errors & crashes in a styled way to the console & otdebug.txt file!
Properties
error type ➜ Error|api.ODSystemError|api.ODPluginError
The original error that this class wraps around
origin type ➜ @types/node.UncaughtExceptionOrigin
The origin of the original error
Methods
constructor() function ➜ api.ODError
(no description)
View Parameters (2)
error: type ➜Error|api.ODSystemError|api.ODPluginError- Parameter Description Lorem Ipsum.origin: type ➜@types/node.UncaughtExceptionOrigin- Parameter Description Lorem Ipsum.
render() function ➜ boolean
Render this error to the console using console.log! Returns false when something went wrong.
toDebugString() function ➜ string
Create a more-detailed, non-colored version of this error to store it in the otdebug.txt file!
Defaults
under construction
We're still working on this part of the documentation!
Examples
under construction
We're still working on this part of the documentation!